eLabSDK2.Inventory.Equipment.EquipmentDetail
Hierarchy
-
↳
EquipmentDetail
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
| Name | Type |
|---|---|
section | CustomSection |
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
| Name | Type |
|---|---|
callback | (e: CustomEvent<number>) => void |
id | string |
Returns
void
onSectionReady
Static onSectionReady(callback, id): void
Register a callback function to be executed when an equipment section is 'ready'.
Parameters
| Name | Type |
|---|---|
callback | VoidCallback |
id | string |
Returns
void
registerAction
Static registerAction(action): void
Register a custom action in the context of a equipment page
Parameters
| Name | Type | Description |
|---|---|---|
action | Action | the action to register |
Returns
void
void
© 2023 eLabNext
Updated about 2 months ago