Browse Source

更新 tab delete 事件示例

pull/1108/head
贤心 2 years ago
parent
commit
c8504e5307
  1. 4
      examples/element.tab.html

4
examples/element.tab.html

@ -113,6 +113,10 @@ layui.use(['element', 'form'], function(){
element.on('tab(test)', function(data){ element.on('tab(test)', function(data){
console.log(this, data); console.log(this, data);
}); });
element.on('tabDelete(tabDemo)', function(data){
console.log(this, data);
});
}); });
</script> </script>

Loading…
Cancel
Save