GWT - NotificationMole不会消失

时间:2016-08-25 09:46:15

标签: gwt toast

我正在尝试在我的GWT应用中实现通知系统 像这样:http://codeseven.github.io/toastr/demo.html

我找到了一个叫做NotificationMole的GWT小部件,我成功地在我的页面中用这段代码显示它:

toast = new NotificationMole();
toast.setAnimationDuration(2000);
bodyContainer.add(toast);
toast.show(event.getMessage());

我期待通知在setAnimationDuration(2000)的2000毫秒后消失,但它根本没有消失,我也找不到任何文件......

0 个答案:

没有答案