(index: number)
| 477 | } |
| 478 | |
| 479 | private _createChangeEvent(index: number): MatTabChangeEvent { |
| 480 | const event = new MatTabChangeEvent(); |
| 481 | event.index = index; |
| 482 | if (this._tabs && this._tabs.length) { |
| 483 | event.tab = this._tabs.toArray()[index]; |
| 484 | } |
| 485 | return event; |
| 486 | } |
| 487 | |
| 488 | /** |
| 489 | * Subscribes to changes in the tab labels. This is needed, because the @Input for the label is |
no outgoing calls
no test coverage detected