eLabSDK2.Marketplace
Hierarchy
-
default↳
Marketplace↳↳
Addon
Methods
addEventListener
Static addEventListener<T>(eventName, callback, id): void
Register event listener, eventName should be one of the available SDK events Will not re-register when function is already linked to specified event.
Type parameters
| Name | Type |
|---|---|
T | Event |
Parameters
| Name | Type |
|---|---|
eventName | string |
callback | (e: T) => void |
id | string |
Returns
void
Inherited from
eLabSDK2.addEventListener
getCommonSDKStore
Static getCommonSDKStore(): VuexStoreInterface
Contains a reference to the 'common' store, containing all application shared logic (groups, userinfo, usersettings)
Returns
VuexStoreInterface
Inherited from
eLabSDK2.getCommonSDKStore
onAfterPageLoad
Static onAfterPageLoad(callback, id): void
Triggers the callback after the dom has been rendered
Parameters
| Name | Type | Description |
|---|---|---|
callback | Function | :Function |
id | string |
Returns
void
Inherited from
eLabSDK2.onAfterPageLoad
onBeforePageExit
Static onBeforePageExit(callback, id): void
Triggers the callback prior to leaving the page. (soft or hard route)
Parameters
| Name | Type | Description |
|---|---|---|
callback | Function | :Function |
id | string |
Returns
void
Inherited from
eLabSDK2.onBeforePageExit
onBeforePageLoad
Static onBeforePageLoad(callback, id): void
Triggers the callback prior to loading the data / DOM
Parameters
| Name | Type | Description |
|---|---|---|
callback | Function | :Function |
id | string |
Returns
void
Inherited from
eLabSDK2.onBeforePageLoad
© 2023 eLabNext
Updated about 3 hours ago