dialog props

This commit is contained in:
荣彬 2020-08-16 21:40:39 +08:00
parent 790a0fb49a
commit f0b302756b

View File

@ -4611,6 +4611,16 @@
"description": "关闭方式",
"defaultValue": "esc,close"
},
{
"name": "onClose",
"propType": "func",
"description": "对话框关闭时触发的回调函数\n@param {String} trigger 关闭触发行为的描述字符串\n@param {Object} event 关闭时事件对象"
},
{
"name": "afterClose",
"propType": "func",
"description": "对话框关闭后触发的回调函数, 如果有动画,则在动画结束后触发"
},
{
"name": "hasMask",
"propType": "bool",
@ -4618,22 +4628,21 @@
"defaultValue": true
},
{
"name": "autoFocus",
"propType": "bool",
"description": "自动获得焦点",
"defaultValue": false
},
{
"name": "align",
"name": "animation",
"propType": {
"type": "oneOfType",
"value": [
"string",
"object",
"bool"
]
},
"description": "对话框对齐方式, 具体见Overlay文档",
"defaultValue": "cc cc"
"description": "显示隐藏时动画的播放方式\n@property {String} in 进场动画\n@property {String} out 出场动画"
},
{
"name": "autoFocus",
"propType": "bool",
"description": "是否获得焦点",
"defaultValue": false
},
{
"name": "isFullScreen",