Namespace $_.event
Defined in: event.js.
Method Summary
add(string, function)
Adds an event that returns a callback when triggered on the selected event and selector
Method Detail
$_.event.add(string, function)
Adds an event that returns a callback when triggered on the selected
event and selector
Eg. $_("#selector").event.add("click", do_something());
Parameters:
string | event | |
function | callback |
Returns:
void |
$_.event.remove(string, string)
Removes an event bound the the specified selector, event type, and callback
Eg. $_("#selector").event.remove("click", do_something());
Parameters:
string | event | |
string | callback |
Returns:
void |