A basic element of the interactive ecosystem. Each element has an unique identifier, an update function to be defined by the user, and the ability to add dependencies on other elements.
Constructs the elements and adds it into the current controller.
The update function describes how this element should update itself
The controller manages the dependencies between elements. Every element is added to this controller upon creation.
This number uniquely identifes elements
Allows for the events attatched to elements to be disabled.
Returns the unique generated identifier associated with this element.
Declares this element dependent on the provided element(s).
Removes this element from the DOM and from the Element controller.
Updates all of the elements that depend on this element.
Clears the static data structures holding elements and resets the count.
Generated using TypeDoc