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

NameType
TEvent

Parameters

NameType
eventNamestring
callback(e: T) => void
idstring

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

NameTypeDescription
callbackFunction:Function
idstring

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

NameTypeDescription
callbackFunction:Function
idstring

Returns

void

Inherited from

eLabSDK2.onBeforePageExit


onBeforePageLoad

Static onBeforePageLoad(callback, id): void

Triggers the callback prior to loading the data / DOM

Parameters

NameTypeDescription
callbackFunction:Function
idstring

Returns

void

Inherited from

eLabSDK2.onBeforePageLoad


© 2023 eLabNext