Tells the ink-bar to align itself to the current label wrapper
()
| 617 | |
| 618 | /** Tells the ink-bar to align itself to the current label wrapper */ |
| 619 | _alignInkBarToSelectedTab(): void { |
| 620 | const selectedItem = |
| 621 | this._items && this._items.length ? this._items.toArray()[this.selectedIndex] : null; |
| 622 | const selectedLabelWrapper = selectedItem ? selectedItem.elementRef.nativeElement : null; |
| 623 | |
| 624 | if (selectedLabelWrapper) { |
| 625 | this._inkBar.alignToElement(selectedLabelWrapper); |
| 626 | } else { |
| 627 | this._inkBar.hide(); |
| 628 | } |
| 629 | } |
| 630 | |
| 631 | /** Stops the currently-running paginator interval. */ |
| 632 | _stopInterval() { |
nothing calls this directly
no test coverage detected