mixin

ItemCollection

@Js
const mixin ItemCollection : Item

ItemCollection is a collection of items

methods data

Item.data routes to self

icon

Item.icon routes to self

id

Item.id routes to self

isCollection

Return true

isGrid

Is this collection of items that implementats ItemGrid

isTree

Is this collection of items that implementats ItemTree

itemById

Lookup child item by id

list

List the items in this collection

meta

Item.meta routes to self

of

Spec type for items within this collection

self

The identity item for this collection

sni

Item.sni routes to self

spec

Spec is always Collection

text

Item.text routes to self

data Obj data()

Item.data routes to self

icon Icon? icon()

Item.icon routes to self

id Ref id()

Item.id routes to self

isCollection Bool isCollection()

Return true

isGrid abstract Bool isGrid()

Is this collection of items that implementats ItemGrid

isTree abstract Bool isTree()

Is this collection of items that implementats ItemTree

itemById abstract Item? itemById(Ref id, Bool checked := true)

Lookup child item by id

list abstract Item[] list()

List the items in this collection; for tree this lists the roots only

meta Dict meta()

Item.meta routes to self

of virtual Spec? of(Bool checked := true)

Spec type for items within this collection

self abstract Item self()

The identity item for this collection

sni Sni sni()

Item.sni routes to self

spec Spec spec()

Spec is always Collection

text Text text()

Item.text routes to self

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT