Edit

Office.OnReadyOptions interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Provides options related to the onReady event.

Properties

setRejectionEnabled

Enables the behavior that allows the onReady promise to be rejected if failures are encountered. If not passed, then the onReady promise won't reject.

Property Details

setRejectionEnabled

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Enables the behavior that allows the onReady promise to be rejected if failures are encountered. If not passed, then the onReady promise won't reject.

setRejectionEnabled?: () => void;

Property Value

() => void