# Control

# boot

Boot the control and register any event listeners.

# Return Value

void

  control.boot();
1

# makeElement

Create a new HTML DOM Element.

# Return Value

Element

  control.makeElement();
1

# listen

Handle events.

# Parameters

  • event string, Event

  • callback Function

# Return Value

void

  control.listen(event, callback);
1

# updateCssClass

Update the elements class attribute.

# Parameters

  • add string

  • remove string

# Return Value

void

  control.updateCssClass(add, remove);
1