通知ウィンドウを出す。
アプリからToast的な通知を出すにはExt.ux.window.Notificationを使う。
http://www.eirik.net/Ext/ux/window/Notification.html
{
xtype: 'button'
handler: ()->
Ext.create('widget.uxNotification', {
title: 'お知らせ'
position: 'br' # 右下(bottom - right)
autoCloseDelay: 3000 # 3秒後に自動で非表示にする
html: 'ここに通知する内容を書く'
width : 400
}).show()
}
昔のExtでは標準で同じようなことできたような気がしているけど、無くなった?気のせい?