File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/material/tabs/tab-nav-bar Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,8 @@ export abstract class _MatTabNavBase
65
65
{
66
66
/** Query list of all tab links of the tab navigation. */
67
67
abstract override _items : QueryList <
68
- MatPaginatedTabHeaderItem & { active : boolean ; id : string ; index : number } > ;
68
+ MatPaginatedTabHeaderItem & { active : boolean ; id : string ; index : number }
69
+ > ;
69
70
70
71
/** Background color of the tab nav. */
71
72
@Input ( )
@@ -276,7 +277,7 @@ export class _MatTabLinkBase
276
277
@Input ( ) id = `mat-tab-link-${ nextUniqueId ++ } ` ;
277
278
278
279
/** Index of the tab within the nav bar. Managed by the nav bar. */
279
- index = - 1 ;
280
+ index = - 1 ;
280
281
281
282
constructor (
282
283
private _tabNavBar : _MatTabNavBase ,
@@ -331,7 +332,7 @@ export class _MatTabLinkBase
331
332
return this . _isActive ? 0 : - 1 ;
332
333
}
333
334
334
- return ( this . _tabNavBar . focusIndex === this . index ) ? 0 : - 1 ;
335
+ return this . _tabNavBar . focusIndex === this . index ? 0 : - 1 ;
335
336
}
336
337
337
338
static ngAcceptInputType_active : BooleanInput ;
You can’t perform that action at this time.
0 commit comments