mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 17:40:40 +03:00
implement pr feedback
This commit is contained in:
parent
4bce86d18b
commit
84a44772b4
@ -63,7 +63,7 @@ export class Tabs extends LitElement {
|
||||
*
|
||||
* @export
|
||||
*/
|
||||
@property({type: Number, reflect: true})
|
||||
@property({type: Number, attribute: 'active-tab-index'})
|
||||
get activeTabIndex() {
|
||||
return this.tabs.findIndex((tab) => tab.active);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user