From 344df448f28b9b266d46fea5650caa0320079520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Fri, 1 Sep 2023 14:00:52 +0300 Subject: [PATCH] Refactor #4351 - For Menubar --- components/lib/menubar/Menubar.d.ts | 4 ++++ components/lib/menubar/MenubarSub.vue | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/components/lib/menubar/Menubar.d.ts b/components/lib/menubar/Menubar.d.ts index 061c4f7dd..8e954a895 100755 --- a/components/lib/menubar/Menubar.d.ts +++ b/components/lib/menubar/Menubar.d.ts @@ -245,6 +245,10 @@ export interface MenubarSlots { * State of the root */ root: boolean; + /** + * Whether or not there is a submenu + */ + hasSubmenu: boolean; }): VNode[]; /** * Custom popup icon template on responsive mode. diff --git a/components/lib/menubar/MenubarSub.vue b/components/lib/menubar/MenubarSub.vue index 292e1738b..692d8850c 100755 --- a/components/lib/menubar/MenubarSub.vue +++ b/components/lib/menubar/MenubarSub.vue @@ -38,7 +38,7 @@ - +