eLabSDK2.Inventory.StorageLayer.StorageLayer
Hierarchy
-
↳
StorageLayer
Methods
addTreeNodeAddition
Static
addTreeNodeAddition(nodeContent
): any
Add extra content to be rendered in the treenavigator of the inventory browser.
Content registered here will be displayed on Storage Layer (sub Storage Unit) nodes in the tree
Parameters
Name | Type | Description |
---|---|---|
nodeContent | TreeNodeAddition | { id: string, html: string, isVisible?: (StorageLayer) => boolean } isVisible is a function that will be called with the current item (storagelayer) as argument |
Returns
any
getActiveStorageLayerID
Static
getActiveStorageLayerID(): number
Get storage layer id of the current active storagelayer
Returns
number
the storagelayer id or null.
© 2023 eLabNext
Updated 9 months ago