|
ManipulatingHelper
What is that ?Utility class to bind on your JsStatement or JsQuery some DOM manipulation Methods
Examples// Add some text after the button
button.add(new WiQueryEventBehavior(new Event(MouseEvent.CLICK) {
private static final long serialVersionUID = 1L;
/**
* {@inheritDoc}
* @see org.odlabs.wiquery.core.events.Event#callback()
*/
@Override
public JsScope callback() {
return JsScope.quickScope(new JsQuery(button).$().chain(ManipulatingHelper.after("<p>Test</p>")).render());
}
}));
| |
► Sign in to add a comment