Show:

ia.DataEvent Class

Extends ia.Event
Module: ia

A ia.DataEvent object.

Constructor

ia.DataEvent

(
  • eventType
  • data
  • geography
  • theme
  • indicator
)

Parameters:

  • eventType String

    The event type.

  • data Object

    The data group object.

  • geography ia.Geography

    The geography.

  • theme ia.Theme

    The theme.

  • indicator ia.Indicator

    The indicator.

Properties

data

Object

The data object.

DATA_CHANGED

String final static

Dispatched when the data have changed somehow. This can be if the geography, indicator or filter have changed.

Default: "dataChanged"

eventType

String

The type of event.

GEOG_CHANGED

String final static

Dispatched when the geography has changed.

Default: "geogChanged"

geography

ia.Geography

The geography.

indicator

ia.Indicator

The indicator.

INDICATOR_CHANGED

String final static

Dispatched when the indicator has changed.

Default: "indicatorChanged"

obj

Object

The object associated with the event.

theme

ia.Theme

The theme.

THEME_CHANGED

String final static

Dispatched when the theme has changed.

Default: "themeChanged"