Starlord
Starlord

Reputation: 109

Word web Add-in: detect document Close

I'm developing a Word Add-in (Word API + Office.js) and I'm wondering if it's possible to get notified when the user click on Close button of word application

Currently my word template has few content controls with data, i am saving the content control data to database when the cursor comes out of the control.

i am trying to implement the same logic when the user click on Close button.

so want check whether Word API has a way to track user click on Close button? Thanks!

Upvotes: 1

Views: 381

Answers (1)

Rick Kirkham
Rick Kirkham

Reputation: 9659

I'm afraid that there is no way yet to handle that event in Office.js. But it's a great idea. Please go to Office Developer Suggestion Box and vote up this suggestion.

Upvotes: 1

Related Questions