What's new in Word JavaScript API 1.8
WordApi 1.8 mainly added further support for writing assistance.
API list
The following table lists the APIs in Word JavaScript API requirement set 1.8. To view API reference documentation for all APIs supported by Word JavaScript API requirement set 1.8 or earlier, see Word APIs in requirement set 1.8 or earlier.
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Office Add-ins