使用范围:UI2
Contents
component Dialog ($UI/system/components/bootstrap/dialog/dialog) extends ViewComponent
Constructor Top
Dialog () | |||
Dialog ( options) |
Attributes Top
string | xid |
Methods Top
void | close () | |
void | show () | |
void | toggle () |
Operations Top
void | close () | |
void | show () | |
void | toggle () |
Events Top
void | onHide (ViewEvent event) | |
void | onShow (ViewEvent event) |
Constructor details
Top
public
Dialog
()
使用场景:需要有交互的对话框;
使用方法:添加dialog(bootstrap)组件,由父页面操作打开,分为上中下三部分,在dialog下添加需要的内容;
public
Dialog
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
public
Dialog
()
public
Dialog
( options)
构造函数
Inherited from ViewComponent
参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
Attributes Detail Top
public
string
xid
Methods Detail Top
public
void
close
()
隐藏对话框
public
void
show
()
显示对话框
public
void
toggle
()
切换显示
Operations Detail Top
public
void
close
()
关闭对话框
See Close
public
void
show
()
显示对话框
See Show
public
void
toggle
()
切换对话框显示状态
See Toggle
Events Detail Top
[回调型事件]当隐藏的时候
[回调型事件]当显示时候