ngAfterContentInit() {
        const /** @type {?} */ dirChange = this._dir ? this._dir.change : of(null);
        const /** @type {?} */ resize = this._viewportRuler.change(150);
        const /** @type {?} */ realign = () => {
            this._updatePagination();
            this._alignInkBarToSelectedTab();
        };
        // Defer the first call in order to allow for slower browsers to lay out the elements.
        // This helps in cases where the user lands directly on a page with paginated tabs.
        typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame(realign) : realign();
        this._realignInkBar = merge(dirChange, resize).subscribe(realign);
    }
/**
     * Aligns the ink bar to the selected tab on load.
     * @return {?}
     */
Aligns the ink bar to the selected tab on load.
Aligns the ink bar to the selected tab on load .
ngAfterContentInit() {
        const  dirChange = this._dir ? this._dir.change : of(null);
        const  resize = this._viewportRuler.change(150);
        const  realign = () => {
            this._updatePagination();
            this._alignInkBarToSelectedTab();
        };
        typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame(realign) : realign();
        this._realignInkBar = merge(dirChange, resize).subscribe(realign);
    }
ngAfterContentInit ( ) { const dirChange = this . _dir ? this . _dir . change : of ( null ) ; const resize = this . _viewportRuler . change ( 150 ) ; const realign = ( ) => { this . _updatePagination ( ) ; this . _alignInkBarToSelectedTab ( ) ; } ; typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame ( realign ) : realign ( ) ; this . _realignInkBar = merge ( dirChange , resize ) . subscribe ( realign ) ; }
Aligns the ink bar to the selected tab on load.
Aligns the ink bar to the selected tab on load .
/** @type {?} */ /** @type {?} */ /** @type {?} */ // Defer the first call in order to allow for slower browsers to lay out the elements. // This helps in cases where the user lands directly on a page with paginated tabs.