private static final long serialVersionUID = 1L;
@Override
protected JsStatement getClickAction() {
return new JsStatement().$(null, "#explode").chain(
new ScaleEffect(org.odlabs.wiquery.ui.effects.ScaleEffect.Direction.both,
Scale.box,
120, 1000));
}
});
actions.addItem(new ScriptTextLinkPanel(actions.newChildId(), "Scale Down") {
private static final long serialVersionUID = 1L;
@Override
protected JsStatement getClickAction() {
return new JsStatement().$(null, "#explode").chain(
new ScaleEffect(org.odlabs.wiquery.ui.effects.ScaleEffect.Direction.both,
Scale.box,
80, 1000));
}
});