4142434445464748495051
Widget button = Y.newButton(ButtonConfig.create().label("resizable button").on("click", new EventCallback<EventFacade>() { @Override public void call(EventFacade e) { } })).render(parent); button.plug(Y.Plugin().Resize()); } }); } }