我试图摇动一个窗口,但在控制台中出现错误。我的代码:
var win = new qx.ui.window.Window ("Login");
win.setLayout (new qx.ui.layout.Grow);
win.add (view);
this.effect = new qx.fx.effect.combination.Shake (
win.getContainerElement ().getDomElement ());
return win;
其中 view 是一个 GroupBox 实例(来自 demobrowser/animation/login)。