From 4bce86d18b8d553607b8d2ee909faff0c095096b Mon Sep 17 00:00:00 2001 From: Adrian Jost <22987140+adrianjost@users.noreply.github.com> Date: Mon, 12 Feb 2024 19:44:41 +0000 Subject: [PATCH] feat(tabs): expose activeTabIndex fixes #5297 --- tabs/internal/tabs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tabs/internal/tabs.ts b/tabs/internal/tabs.ts index bce965cbc..fb23f17e2 100644 --- a/tabs/internal/tabs.ts +++ b/tabs/internal/tabs.ts @@ -63,6 +63,7 @@ export class Tabs extends LitElement { * * @export */ + @property({type: Number, reflect: true}) get activeTabIndex() { return this.tabs.findIndex((tab) => tab.active); }