Namespace: ContextTag

CIQ.UI. ContextTag

Abstract class for web components that use a CIQ.UI.Context in order to gain access to a ChartEngine

See:

Methods


ContextTag.addInjection(position, injection, code)

Parameters:
Name Type Description
position string

Where in the animation loop the injection should be added. Append or Prepend.

injection string

What function to add the injection too

code function

The callback to fired when the injection occurs


ContextTag.createdCallback()

Convenience function that creates an array of injections for the component and sets a variable of node equal to self.


ContextTag.detachedCallback()

Removes all the the injections for a context tag and resets the tag to its default state


ContextTag.setContext(context)

This is called for every registered component when the context is constructed. You can override this as an initialization.

Parameters:
Name Type Description
context CIQ.UI.Context

The context


ContextTag.setContextHolder()

Stores the component in the contextHolder so that when the context is started it knows that this tag is contextual