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


<static> ContextTag#connectedCallback()

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

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


<static> ContextTag#disconnectedCallback()

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

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


<static> 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


<static> ContextTag#setContextHolder()

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

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