使用范围:WX
Contents
component Dialog ($UI/comp/antd/components/Dialog/Dialog) extends Component
Constructor Top
Dialog () | |||
Dialog ( config) |
Properties Top
string | src |
Attributes Top
string | src |
Methods Top
void | open (JSON option) |
Operations Top
void | close () | |
void | open (object option) |
Events Top
void | onLoad ($UI/comp/antd/components/common/event#ViewEvent event) | |
void | onOpen ($UI/comp/antd/components/common/event#ViewEvent event) | |
void | onReceive (ReceiveEvent event) | |
void | onReceived (ReceiveEvent event) | |
void | onSend (SendEvent event) |
Constructor details
Top
public
Dialog
()
使用场景:对话框;
使用方法:添加Dialog组件,在父页面打开对话框时可以传参,关闭对话框时可以把操作完的数据再传回父页面;
public
Dialog
( config)
构造函数
Inherited from Operational
public
Dialog
()
public
Dialog
( config)
构造函数
Inherited from Operational
Properties Detail Top
public
string
src
Attributes Detail Top
public
string
src
Methods Detail Top
public
void
open
(JSON option)
打开对话框
Operations Detail Top
public
void
close
()
关闭window对话框
public
void
open
(object option)
打开window对话框
See Open
Events Detail Top
public
void
onLoad
($UI/comp/antd/components/common/event#ViewEvent event)
[回调型事件].w加载完成后
public
void
onOpen
($UI/comp/antd/components/common/event#ViewEvent event)
[回调型事件]打开事件
[回调型事件].w返回数据事件
[回调型事件].w返回数据接收处理完成事件
[回调型事件]向.w传递数据事件