WebExtension

WebExtension class

Represents an Office Add-in instance.

class WebExtension;

Properties

PropertyTypeDescription
idstringGets and sets the uniquely identifies the Office Add-in instance in the current document.
isFrozenbooleanIndicates whether the user can interact with the Office Add-in or not.
referenceWebExtensionReferenceReadonly. Get the primary reference to an Office Add-in.
alterReferencesWebExtensionReferenceCollectionReadonly. Gets a list of alter references.
propertiesWebExtensionPropertyCollectionReadonly. Gets all properties of web extension.
bindingsWebExtensionBindingCollectionReadonly. Gets all bindings relationship between an Office Add-in and the data in the document.

id

Gets and sets the uniquely identifies the Office Add-in instance in the current document.

id : string;

isFrozen

Indicates whether the user can interact with the Office Add-in or not.

isFrozen : boolean;

reference

Readonly. Get the primary reference to an Office Add-in.

reference : WebExtensionReference;

alterReferences

Readonly. Gets a list of alter references.

alterReferences : WebExtensionReferenceCollection;

properties

Readonly. Gets all properties of web extension.

properties : WebExtensionPropertyCollection;

bindings

Readonly. Gets all bindings relationship between an Office Add-in and the data in the document.

bindings : WebExtensionBindingCollection;