Chico UI - Doc

v1.0.0

Namespace ch

Description

An object which contains all the public members.

Widgets

Autocomplete
Bubble
Calendar
Carousel
Condition
Countdown
Custom
Datepicker
Dropdown
Email
EventEmitter
Expandable
Form
Layer
Max
MaxLength
Menu
Min
MinLength
Modal
Number
Popover
Positioner
Required
String
Tabs
Tooltip
Transition
URL
Validation
Viewport
Widget
Zoom

Namespaces

shortcuts
support
util

Properties

.onkeybackspace String

Backspace key event.

.onkeydownarrow String

Down arrow key event.

.onkeyenter String

Enter key event.

.onkeyesc String

Esc key event.

.onkeyinput String

Alphanumeric keys event.

.onkeyleftarrow String

Left arrow key event.

.onkeyrightarrow String

Rigth arrow key event.

.onkeytab String

Tab key event.

.onkeyuparrow String

Up arrow key event.

.onlayoutchange String

Every time Chico UI needs to inform all visual components that layout has been changed, it emits this event.

.onpointerdown String

.onpointerenter String

.onpointerleave String

.onpointermove String

.onpointertap String

.onpointerup String

.onresize String

.onscroll String

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.

.onImagesLoads($el, callback)



    

Executes a callback function when the images of a query selection loads.

  • $el - : An image or a collection of images.
  • callback - : The handler the component will fire after the images loads.
$('selector').onImagesLoads(function () {
    console.log('The size of the loaded image is ' + this.width);
});