Skip to content

Commit 4bce86d

Browse files
authored
feat(tabs): expose activeTabIndex
fixes #5297
1 parent 6b95a13 commit 4bce86d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tabs/internal/tabs.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export class Tabs extends LitElement {
6363
*
6464
* @export
6565
*/
66+
@property({type: Number, reflect: true})
6667
get activeTabIndex() {
6768
return this.tabs.findIndex((tab) => tab.active);
6869
}

0 commit comments

Comments
 (0)