Skip to content

Conversation

@steinslin
Copy link

需求: issue#95

说明:

  • 通过属性 before-close 监听 Modal 关闭前的事件,会暂停 Modal 的关闭
  • 参数为event事件,回调函数,调用函数将关闭 Modal ,传递 false 参数可以阻止 Modal的关闭
  • 点击按钮、icon、遮罩、esc均会触发该钩子,手动修改value的值不触发

@koppthe koppthe merged commit 31317ed into AT-UI:dev Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants