assets-navigator/test/asset-node.mock.ts
Properties |
Methods |
alert |
Type : object
|
Default value : {
addServerFailure: ex => undefined
}
|
inventory |
Type : object
|
Default value : {
update: (id, type) => undefined,
childAssetsAdd: (child, parent) => undefined,
childAssetsRemove: (child, parent) => undefined
}
|
moduleConfig |
Type : object
|
Default value : {
disableDragAndDrop: false
}
|
createChildNode | ||||
createChildNode(mo)
|
||||
Parameters :
Returns :
any
|
getDynamicGroupItems |
getDynamicGroupItems()
|
Returns :
any
|
getGroupItems | ||||||
getGroupItems(moId: string)
|
||||||
Parameters :
Returns :
Promise<any>
|
getRootNodes |
getRootNodes()
|
Returns :
Promise<any>
|
icon |
icon()
|
Returns :
string
|
isAsset |
isAsset()
|
Returns :
boolean
|
isDynamicGroup |
isDynamicGroup()
|
Returns :
boolean
|
isGroup | ||||
isGroup(val)
|
||||
Parameters :
Returns :
boolean
|
onUpdate |
onUpdate()
|
Returns :
any
|
preferBreadcrumb | ||||||
preferBreadcrumb(parents: NavigatorNode[])
|
||||||
Parameters :
Returns :
void
|