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
onUpdate
onUpdate()
Returns : any
preferBreadcrumb
preferBreadcrumb(parents: NavigatorNode[])
Parameters :
Name Type Optional
parents NavigatorNode[] No
Returns : void

results matching ""

    No results matching ""