Heat.js - Documentation - Binding Options - Custom Triggers
Below is a list of all the binding options custom triggers supported in Heat.js, which are fired when specific actions occur.
Download Now
Below is a list of all the binding options custom triggers supported in Heat.js, which are fired when specific actions occur.
Download Now
Fires when a rendered heat map is refreshed.
Parameter: element: Object - The element that was refreshed.
Fires before the rendering of an element.
Parameter: element: object - The DOM element that is going to be rendered.
Fires when the rendering of an element is complete.
Parameter: element: object - The DOM element that was rendered.
Fires when the element is destroyed (reverted back to its original state).
Parameter: element: object - The DOM element that was destroyed.
Fires when a tooltip for a specific day is rendered.
Parameter: date: Date - The date of the day.
Parameter: count: number - The number of activities for the day.
Fires when the year is moved back.
Parameter: year: number - The year that is now being viewed.
Fires when the year is moved forward.
Parameter: year: number - The year that is now being viewed.
Fires when the year is manually set.
Parameter: year: number - The year that is now being viewed.
Fires when a day is clicked in the "map" or "chart" views.
Parameter: date: Date - The date that was clicked.
Parameter: count: number - The number of items for the date available.
Fires when a statistic is clicked in the "statistics" view.
Parameter: colorRange: Object - The statistic color range details.
Fires when a statistic is clicked in the "statistics" view.
Parameter: dayNumber: number - The week day number.
Parameter: dayCount: number - The number of items for the weekday available.
Fires when data for an element is added.
Parameter: element: Object - The element that the data was added for.
Fires when data for an element is reset.
Parameter: element: Object - The element that the data was reset for.
Fires when the data for an element is exported.
Parameter: element: Object - The element that the data was exported for.
Fires when the data for an element is exported.
Parameter: element: Object - The element that the data was exported for.
Fires when data for an element is imported.
Parameter: element: Object - The element that the data was imported for.
Fires when an element requests a data pull (will return all the data in an object). When set, all data adding/removing is disabled, including Local Storage support.
Parameter: element: Object - The element that the data is being fetched for.
Returns: Object - An object of data.
Fires when a date for an element is cleared.
Parameter: element: Object - The element that the date was cleared for.
Fires when a date for an element is updated.
Parameter: element: Object - The element that the date was updated for.
Fires when the trend type being viewed is switched.
Parameter: type: string - The trend type selected.
Fires when the view is switched.
Parameter: view: string - The view selected.
Fires when a color range type is toggled on/off.
Parameter: id: string - The ID of the color range.
Parameter: visible: boolean - States if the color range is visible.
Fires when a date for an element is updated.
Parameter: element: Object - The element that the options was updated for.
Parameter: options: Object - The updated options.