public class AttributesHelper extends Object
Helper to bind attributes functions.
http://docs.jquery.com/Attributes| Constructor and Description |
|---|
AttributesHelper() |
| Modifier and Type | Method and Description |
|---|---|
static ChainableStatement |
addClass(String className)
Binds the
addClass statement. |
static ChainableStatement |
attr(String key,
JsScope computedValue)
Binds the
attr statement. |
static ChainableStatement |
attr(String key,
String value)
Binds the
attr statement. |
static ChainableStatement |
html(CharSequence htmlContents)
Binds the
html statement. |
static ChainableStatement |
removeAttr(String key)
Binds the
removeAttr statement. |
static ChainableStatement |
removeClass(String className)
Binds the
removeClass statement. |
static ChainableStatement |
toggleClass(String className)
Binds the
toggleClass statement. |
public static ChainableStatement attr(String key, String value)
attr statement.public static ChainableStatement attr(String key, JsScope computedValue)
attr statement.public static ChainableStatement removeAttr(String key)
removeAttr statement.public static ChainableStatement addClass(String className)
addClass statement.public static ChainableStatement removeClass(String className)
removeClass statement.public static ChainableStatement toggleClass(String className)
toggleClass statement.public static ChainableStatement html(CharSequence htmlContents)
html statement.Copyright © 2009-2012. All Rights Reserved.