Project Outline
 
$_
$(string, object)
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, function)
get(string, bool)
set(string, mixed, bool)
remove(string, bool)
getAll(bool)
clear(bool)
get(string)
parse(string, object)
apply(string, string, object)
object_keys(object)
array_combine(array/object, array/object)
object_merge(object)
str_trans(string, mixed, string)
«
Kis JS Docs

Module $_.template

Defined in: template.js.

Method Summary
get(string)Retrieves a template
parse(string, object)Formats a template
apply(string, string, object)Inserts the formatted template into the page.
Method Detail
$_.template.get(string): string
Retrieves a template
Parameters:
string name
Returns:
string
$_.template.parse(string, object): string
Formats a template
Parameters:
string template_name
object replace_data
Returns:
string
$_.template.apply(string, string, object)
Inserts the formatted template into the page. If the url and data parameters are passed, it will retrieve a template file from the same domain, parse, and insert the template into the page.
Parameters:
string parsed_template/template_name
string?, Default: url
object?, Default: data