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
Datepicker
Dropdown
Expandable
Form
Layer
Menu
Modal
Popover
Positioner
Tabs
Tooltip
Transition
Validation
Viewport
Zoom

Namespaces

shortcuts

Properties

.instances Object

Stores all instances created

.onkeybackspace String

Backspace key event.

.onkeydownarrow String

Down arrow key event.

.onkeyenter String

Enter key event.

.onkeyesc String

Esc key event.

.onkeyleftarrow String

Left arrow key event.

.onkeyrightarrow String

Rigth arrow key event.

.onkeytab String

Tab key event.

.onkeyuparrow String

Up arrow key event.

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.