May 2017
Intermediate to advanced
448 pages
10h 10m
English
|
Event method |
Description |
|
.ready(handler) |
Binds handler to be called when the DOM and CSS are fully loaded. |
|
.on(type, [selector], [data], handler) |
Binds handler to be called when the given type of event is sent to the element. If selector is provided, performs event delegation. |
|
.on(events, [selector], [data]) |
Binds multiple handlers for events as specified in the events object parameter. |
|
.off(type, [selector], [handler]) |
Removes bindings on the element. |
|
.one(type, [data], handler) |
Binds handler to be called when the given type of event is sent to the element. Removes the binding when the handler is called. |
Read now
Unlock full access