eLabSDK2.Inventory.Equipment.EquipmentDetail

Hierarchy

Methods

addSection

Static addSection(section): void

Add a custom section to a equipment detail page. This is rendered in the 'overview'
tab of a equipment.

Parameters

NameType
sectionCustomSection

Returns

void


onReady

Static onReady(callback, id): void

Register a callback function to be executed when a Equipment detail page is 'ready'.
The callback is called passing in the equipmentID as detail in the event parameter.

Parameters

NameType
callback(e: CustomEvent<number>) => void
idstring

Returns

void


onSectionReady

Static onSectionReady(callback, id): void

Register a callback function to be executed when an equipment section is 'ready'.

Parameters

NameType
callbackVoidCallback
idstring

Returns

void


registerAction

Static registerAction(action): void

Register a custom action in the context of a equipment page

Parameters

NameTypeDescription
actionActionthe action to register

Returns

void

void


© 2023 eLabNext