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 $_.dom

Defined in: DOM.js.

Method Summary
addClass(string) Adds a class to the element(s) specified by the current selector
removeClass(string) Removes a class from the element(s) specified by the current selector
hide() Hides the element(s) specified by the current selector
show(string) Shows the element(s) specified by the current selector.
attr(string, string) Sets attributes on element(s) specified by the current selector, or, if name is not specified, returns the value of the attribute of the element specified by the current selector.
Method Detail
$_.dom.addClass(string)
Adds a class to the element(s) specified by the current selector

										
									
Parameters:
string class
Returns:
void
$_.dom.removeClass(string)
Removes a class from the element(s) specified by the current selector

										
									
Parameters:
string class
Returns:
void
$_.dom.hide()
Hides the element(s) specified by the current selector

										
									
Returns:
void
$_.dom.show(string)
Shows the element(s) specified by the current selector. if type is specified, the element will have it's style property set to "display:[your type]". If type is not specified, the element is set to "display:block".

										
									
Parameters:
string?, Default: type
Returns:
void
$_.dom.attr(string, string) : string
Sets attributes on element(s) specified by the current selector, or, if name is not specified, returns the value of the attribute of the element specified by the current selector.

										
									
Parameters:
string name
string value
Returns:
string
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 01 2011 20:13:40 GMT-0400 (EDT)