Class: Helper

CIQ.UI. Helper


new Helper()

Abstract class for UI Helpers.

Designed to be used as a helper method for the included WebComponents. A full tutorial on how to work with and customize the Web Components can be found here: Web Component Interface

Methods


addInjection(position, injection, code)

Adds an injection. These will be automatically destroyed if the helper object is destroyed.

Designed to be used as a helper method for the included WebComponents. A full tutorial on how to work with and customize the Web Components can be found here: Web Component Interface

Parameters:
Name Type Description
position String

"prepend" or "append"

injection String

The injection name. i.e. "draw"

code function

The code to be run


destroy()

Removes injections from the ChartEngine

Designed to be used as a helper method for the included WebComponents. A full tutorial on how to work with and customize the Web Components can be found here: Web Component Interface