Extension
Defined in: core/extension.ts:9
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Extension():
Extension
Defined in: core/extension.ts:31
Returns
Section titled “Returns”Extension
Properties
Section titled “Properties”_callback
Section titled “_callback”
static_callback:object={}
Defined in: core/extension.ts:15
_proxyCallback
Section titled “_proxyCallback”
static_proxyCallback:object={}
Defined in: core/extension.ts:12
_remoteCallback
Section titled “_remoteCallback”
static_remoteCallback:object={}
Defined in: core/extension.ts:13
Methods
Section titled “Methods”getId()
Section titled “getId()”getId(
handler?):Promise<string>
Defined in: core/extension.ts:112
return: Promise
Get the extension id.
Parameters
Section titled “Parameters”handler?
Section titled “handler?”Function
Returns
Section titled “Returns”Promise<string>
loadConfig()
Section titled “loadConfig()”loadConfig():
Promise<any>
Defined in: core/extension.ts:64
return: Promise
Get the saved configuration from the presentation
Returns
Section titled “Returns”Promise<any>
saveConfig()
Section titled “saveConfig()”saveConfig(
configObj):Promise<any>
Defined in: core/extension.ts:47
param: (configObj: JSON)
return: Promise<ExtensionWindow|Error>Save the configuration object to the presentation
Parameters
Section titled “Parameters”configObj
Section titled “configObj”any
Returns
Section titled “Returns”Promise<any>
_finalCallback()
Section titled “_finalCallback()”
static_finalCallback(message):Promise<unknown>
Defined in: core/extension.ts:135
Parameters
Section titled “Parameters”message
Section titled “message”any
Returns
Section titled “Returns”Promise<unknown>
getInstance()
Section titled “getInstance()”
staticgetInstance():Extension
Defined in: core/extension.ts:21
Gets the instance of the Extension class. Use this instead of the constructor.
Returns
Section titled “Returns”Extension