eLabSDK2.Inventory.StorageUnit.StorageUnit
Hierarchy
-
↳
StorageUnit
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 Unit nodes in the tree
Parameters
Name | Type | Description |
---|---|---|
nodeContent | TreeNodeAddition | { id: string, html: string, isVisible?: (StorageUnit) => boolean } isVisible is a function that will be called with the current item (storageunit) as argument |
Returns
any
© 2023 eLabNext
Updated 9 months ago