From c8504e5307270b0cb6c1fdb6084b4b69ff41cd62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 4 Aug 2022 15:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20tab=20delete=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/element.tab.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/element.tab.html b/examples/element.tab.html index 363e9689..c1af1927 100644 --- a/examples/element.tab.html +++ b/examples/element.tab.html @@ -113,6 +113,10 @@ layui.use(['element', 'form'], function(){ element.on('tab(test)', function(data){ console.log(this, data); }); + + element.on('tabDelete(tabDemo)', function(data){ + console.log(this, data); + }); });