3.x文档
实现点击最后一个页签关闭模态框
UIkit.switcher(".tabs-header", {
'beforeshow': function (e) {
console.log(e);
e.preventDefault()
}
});
绑定回调函数
UIkit.util.on('#message-drop-box', 'show', function () {
console.log('show')
});
UIkit.util.on('#message-drop-box', 'hide', function () {
console.log('show')
});
评论区