CToolsDetachBehaviors

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 提供了一个 弹窗关闭 的钩子事件

posted @ 2020-06-16 11:18  qqisnow2021  阅读(210)  评论(0编辑  收藏  举报