PopUP弹层组件
用于各种弹层
API
PopUP props
name | description | type | default |
---|---|---|---|
cls | 自定义container css | String | '' |
style | 自定义container style | Object | {} |
maskStyle | 遮罩style | Object | {} |
bodyStyle | dialog body element style | Object | {} |
zIndex | 遮罩z-index | Number | |
wrapClassName | dialog wrap classname | String | |
animation | 弹层内容层动画名 | String | |
maskAnimation | 遮罩动画名 | String | |
transitionName | String | ||
maskClosable | 点击遮罩是否可关闭 | Boolean | true |
afterClose | 弹层关闭后执行回调函数 | Function | |
onClose | 点击关闭或遮罩时的回调函数 | Function |