$Id: JsQuery.java 1721M 2012-01-17 17:43:37Z (local) $
{@link JsQuery} is the main entry point of WickeXt's JavaScript integration. This classis used to link JavaScript to a component and to render it.
This class implements the {@link IHeaderContributor} interface, so if you want toappend the generated JavaScript, just do this:
JsQuery jsq = new JsQuery(myComponent); jsq.$().chain("css", "border", "1px solid red"); myComponent.add(new HeaderContributor(jsq));
If you want to generate a statement concerning a component, do it as below:
new JsQuery(yourComponent).$().chain("css", "border", "1px solid red"));
@author Lionel Armanet
@since 0.7