Zebra API Doc

zebra.data.Item Class

Tree model item class. The structure is used by tree model to store tree items values, parent and children item references.

Constructor

zebra.data.Item

(
  • [v]
)

Parameters:

  • [v] Object optional

    the item value

Item Index

Attributes

Attributes

kids

Array readonly

Array of children items of the item element

Default: []

parent

zebra.data.Item readonly

Reference to a parent item

Default: undefined

value

Object readonly

Value stored with this item

Default: null