What's new in Word JavaScript API 1.1
WordApi 1.1 is the first requirement set of the Word JavaScript API. It's the only Word API requirement set supported by Word 2016.
API list
The following table lists the APIs in Word JavaScript API requirement set 1.1. To view API reference documentation for all APIs supported by Word JavaScript API requirement set 1.1, see Word APIs in requirement set 1.1.
Class | Fields | Description |
---|---|---|
AnnotationPopupActionEventArgs | action | Specifies the chosen action in the pop-up menu. |
critiqueSuggestion | Specifies the accepted suggestion (only populated when accepting a critique suggestion). | |
id | Specifies the annotation ID for which the event was fired. | |
Critique | popupOptions | Specifies the behavior of the pop-up menu for the critique. |
CritiquePopupOptions | brandingTextResourceId | Gets the manifest resource ID of the string to use for branding. |
subtitleResourceId | Gets the manifest resource ID of the string to use as the subtitle. | |
suggestions | Gets the suggestions to display in the critique pop-up menu. | |
titleResourceId | Gets the manifest resource ID of the string to use as the title. | |
Document | onAnnotationPopupAction | Occurs when the user performs an action in an annotation pop-up menu. |
Range | highlight() | Highlights the range temporarily without changing document content. |
removeHighlight() | Removes the highlight added by the Highlight function if any. |
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins