API Reference 0.6.0bootjackBase

Base abstract class

The skeleton class for Bootjack components.

abstract class Base {
 
 /// The element which component wires to.
 final Element element;
 
 /// The dquery object of [element]. Equivalent to $(element).
 final ElementQuery $element;
 
 Base(Element element, String name) : 
 this.element = element,
 $element = $(element) {
   $element.data.set(name, this);
 }
 
}

Subclasses

Affix, Alert, Button, Carousel, Collapse, Dropdown, Modal, Scrollspy, Tab, Tooltip, Typeahead

Constructors

new Base(Element element, String name) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
Base(Element element, String name) : 
this.element = element,
$element = $(element) {
 $element.data.set(name, this);
}

Properties

final ElementQuery $element #

The dquery object of element. Equivalent to $(element).

final ElementQuery $element

final Element element #

The element which component wires to.

final Element element