implement pr feedback

This commit is contained in:
Adrian Jost 2024-02-13 09:34:38 +00:00 committed by GitHub
parent 4bce86d18b
commit 84a44772b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ export class Tabs extends LitElement {
* *
* @export * @export
*/ */
@property({type: Number, reflect: true}) @property({type: Number, attribute: 'active-tab-index'})
get activeTabIndex() { get activeTabIndex() {
return this.tabs.findIndex((tab) => tab.active); return this.tabs.findIndex((tab) => tab.active);
} }