Roo.util.Observable
Roo.BasicDialog 

		   

Class Roo.BasicDialog

Package:Roo
Defined In: Roo/BasicDialog.js.
Class:BasicDialog
Subclasses: Roo.LayoutDialog, Roo.Login
Extends: Roo.util.Observable
Lightweight Dialog Class. The code below shows the creation of a typical dialog using existing HTML markup:

var dlg = new Roo.BasicDialog("my-dlg", {
height: 200,
width: 300,
minHeight: 100,
minWidth: 150,
modal: true,
proxyDrag: true,
shadow: true
});
dlg.addKeyListener(27, dlg.hide, dlg); // ESC can also close the dialog
dlg.addButton('OK', dlg.hide, dlg); // Could call a save function instead of hiding
dlg.addButton('Cancel', dlg.hide, dlg);
dlg.show();

A Dialog should always be a direct child of the body element.
Class Comments / Notes => [Add Your comment/notes about this class]
Config Options (Usually are also Properties)
Options Defined By
Public Properties - Has None
Public Methods
Method Defined By
Events
Event Defined By
Documentation generated by Introspection Doc Generator on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT) Based on JsDoc Toolkit