首页 > 其他 > 详细

CToolsDetachBehaviors

时间:2020-06-16 12:58:58      阅读:44      评论:0      收藏:0      [点我收藏+]

CTools dispatches the event "CToolsDetachBehaviors" when the modal gets closed. Careful though, the event is fired BEFORE the closing animation has finished.

Here‘s a sample implementation:

$(document).on("CToolsDetachBehaviors", function() {
    console.log("Modal has closed");                    
});

这样理解: ctools 提供了一个 弹窗关闭 的钩子事件

CToolsDetachBehaviors

原文:https://www.cnblogs.com/qinqiu/p/13139964.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!