File

assets-navigator/test/asset-node.mock.ts

Index

Properties
Methods

Properties

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 }

Methods

createChildNode
createChildNode(mo)
Parameters :
Name Optional
mo No
Returns : any
getDynamicGroupItems
getDynamicGroupItems()
Returns : any
getGroupItems
getGroupItems(_moId: string)
Parameters :
Name Type Optional
_moId string No
Returns : Promise<any>
getRootNodes
getRootNodes()
Returns : Promise<any>
icon
icon()
Returns : string
isAsset
isAsset()
Returns : boolean
isDynamicGroup
isDynamicGroup()
Returns : boolean
isGroup
isGroup(_val)
Parameters :
Name Optional
_val No
Returns : boolean
label
label(mo: IManagedObject)
Parameters :
Name Type Optional
mo IManagedObject No
Returns : string
onUpdate
onUpdate()
Returns : any
preferBreadcrumb
preferBreadcrumb(_parents: NavigatorNode[])
Parameters :
Name Type Optional
_parents NavigatorNode[] No
Returns : void

results matching ""

    No results matching ""