API

Full API documentation.

ch (Namespace)

Description

An object which contains all the public members. A short alias for el.querySelectorAll

How-to

// Get all first level headings
var headings = ch('h1');

// Get a list of p children elements under a container, whose parent is a div that has the class 'wrapper'
var paragraphs = ch('p', ch('div.wrapper'));
// The same as above
var paragraphs = ch('p', 'div.wrapper');

Components

Autocomplete
Bubble
Calendar
Carousel
Component
Condition
Countdown
Dropdown
Expandable
Form
Layer
Menu
Modal
Popover
Positioner
Tooltip
Transition
Validation
Viewport

Properties

.instances Object

Stores all instances created

Methods

.factory(Klass)



    

Method in change of expose a friendly interface of the Chico constructors.

  • Klass - Object : Direct reference to the constructor from where the $-plugin will be created.