Project Outline
 
$_
$(string, string)
ext(string, object)
each(function)
type(mixed)
get(string, object, function)
post(string, object, function)
addClass(string)
removeClass(string)
show(string)
attr(string, string)
text(string)
css(string, string)
html(string)
add(string, function)
remove(string, string)
live(string, string, function)
delegate(string, string)
get(string, bool)
set(string, mixed, bool)
remove(string, bool)
clear(bool)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
«
Kis JS Documentation

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