Project Outline
addClass(string)
removeClass(string)
show(string)
attr(string, string)
add(string, function)
remove(string, string)
live(string, string, function)
delegate(string, string)
get(string)
set(string, mixed)
remove(string)
text(string)
css(string, string)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
«
Framework jProton

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
remove(string, string) Removes an event bound the the specified selector, event type, and callback
live(string, string, function) Binds a persistent, delegated event
delegate(string, string) Binds an event to a parent object
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
$_.event.live(string, string, function)
Binds a persistent, delegated event
Eg. $_.event.live(".button", "click", do_something());
Parameters:
string target
string event
function callback
Returns:
void
$_.event.delegate(string, string)
Binds an event to a parent object
Eg. $_("#parent").delegate(".button", "click", do_something());
Parameters:
string target
string event_type
Returns:
void
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 01 2011 20:13:40 GMT-0400 (EDT)