ItemCollection
@Js
const mixin ItemCollection : Item
ItemCollection is a collection of items
Item.data routes to self
Item.icon routes to self
Item.id routes to self
Return true
Is this collection of items that implementats ItemGrid
Is this collection of items that implementats ItemTree
Lookup child item by id
List the items in this collection
Item.meta routes to self
Spec type for items within this collection
The identity item for this collection
Item.sni routes to self
Spec is always Collection
Item.text routes to self
Obj data()
Item.data routes to self
Icon? icon()
Item.icon routes to self
Ref id()
Item.id routes to self
Bool isCollection()
Return true
abstract Bool isGrid()
Is this collection of items that implementats ItemGrid
abstract Bool isTree()
Is this collection of items that implementats ItemTree
abstract Item? itemById(Ref id, Bool checked := true)
Lookup child item by id
abstract Item[] list()
List the items in this collection; for tree this lists the roots only
Dict meta()
Item.meta routes to self
virtual Spec? of(Bool checked := true)
Spec type for items within this collection
abstract Item self()
The identity item for this collection
Sni sni()
Item.sni routes to self
Spec spec()
Spec is always Collection
Text text()
Item.text routes to self