Class UpdateInfo

Holds state information that can be used during a RenderBase.update operation. Allows you to access data, properties and the DOM node for rendering the visualization.

Hierarchy

  • UpdateInfo

Index

Properties

Properties

data

data: DataSet | null

The data that should be rendered, or null if there is no data.

locale

locale: string

The data locale that should be used for rendering. Should not be used for translations, only for custom data formatting where that is necessary.

node

node: Element

The HTML element on which rendering should take place. This is the element that was returned previously from a the RenderBase.create method.

props

props: Properties

The current set of properties. Properties can also be accessed through the RenderBase.properties attribute.

reason

reason: RenderReason

The reason why rendering should take place. Check the flags in this object to see which aspects of the visualization need rendering.