{"hidden":false,"children":[{"configs":{"itemId":"module"},"expanded":true,"children":[{"configs":{"itemId":"viewport1","defaults":"{\n  margin: 8\n}"},"expanded":true,"children":[{"configs":{"itemId":"infoBtn","text":"信息对话框"},"expanded":false,"children":[],"type":"button","events":{"click":"Wb.info('使用Wb.info(msg)方法显示提示信息');"}},{"configs":{"itemId":"toastBtn","text":"提示信息"},"expanded":false,"children":[],"type":"button","events":{"click":"Wb.toast('使用Wb.toast(msg)方法显示提示信息');"}},{"configs":{"itemId":"tipBtn","text":"带图标提示"},"expanded":false,"children":[],"type":"button","events":{"click":"Wb.tip('使用Wb.tip(msg)方法显示提示信息');\n//Wb.tip({html:'使用Wb.tip(msg)方法显示提示信息',width:200});"}},{"configs":{"itemId":"customBtn","text":"自定义提示效果"},"expanded":false,"children":[],"type":"button","events":{"click":"new Ext.ux.window.Notification({\n  title: '警告',\n  position: 'lc', //left-center\n  iconCls: 'warning_icon',\n  html: '使用Notification插件自定义消息显示方式',\n  bodyPadding: 15,\n  closeAction: 'destroy',\n  bodyStyle: 'line-height:20px;',\n  autoCloseDelay: 5000,\n  slideBackDuration: 300,\n  slideInAnimation: 'bounceOut',\n  slideBackAnimation: 'easeIn'\n}).show();"}},{"configs":{"itemId":"notifyBtn","text":"显示通知"},"expanded":false,"children":[],"type":"button","events":{"click":"Wb.notify('在home页中运行将在home页顶部显示消息。', true, true);"}}],"type":"viewport"}],"type":"module"}],"roles":{"demo":1},"title":"消息框","iconCls":"","inframe":false,"pageLink":""}