Properties
data
Component’s data
dataItems
A list of component’s data items
inited
Indicates if the component has already been initialized
Animation
A duration of the animation from one setting value to another, in milliseconds
Easing function to use for cross setting value animations
Methods
updateData()
Updates existing data in the component without disposing old data items. If there are more data items than before, new ones will be created. If there are less, old ones will be removed.New data array
makeDataItem()
Creates a new data item and processes it.Data item settings
Data context
New data item
pushDataItem()
Adds new explicit data item to the component.Data item settings
Data context
New data item
showDataItem()
Shows component’s data item.Data item to show
Animation duration in milliseconds
Promise that resolves when animation completes
hideDataItem()
Hides component’s data item.Data item to hide
Animation duration in milliseconds
Promise that resolves when animation completes
markDirtyValues()
Forces a repaint of the element which relies on data.Optional specific data item to mark dirty
getDataItemById()
Looks up and returns a data item by its ID.ID to look up
Data item with matching ID, or undefined if not found
disposeDataItem()
Disposes a data item.Data item to dispose
Events
Dispatched after data is processed and validated
Dispatched when data values change
DataItem Class
DataItem is a wrapper for actual data used by components.Properties
A data item’s owner Component
A reference to actual item in source data this item is based on
Bullets associated with this data item
Methods
show()
Shows a data item that’s currently hidden.Animation duration in milliseconds
hide()
Hides a data item that’s currently visible.Animation duration in milliseconds
isHidden()
Returnstrue if data item is hidden.
Whether the data item is hidden