ngOnInit() {
        if (this._position == 'center' && this._origin) {
            this._position = this._origin == 'left' ? 'left-origin-center' : 'right-origin-center';
        }
    }
/**
     * After initialized, check if the content is centered and has an origin. If so, set the
     * special position states that transition the tab from the left or right before centering.
     * @return {?}
     */
After initialized, check if the content is centered and has an origin. If so, set the
special position states that transition the tab from the left or right before centering.
After initialized check if the content is centered and has an origin . If so set the special position states that transition the tab from the left or right before centering .
ngOnInit() {
        if (this._position == 'center' && this._origin) {
            this._position = this._origin == 'left' ? 'left-origin-center' : 'right-origin-center';
        }
    }
ngOnInit ( ) { if ( this . _position == 'center' && this . _origin ) { this . _position = this . _origin == 'left' ? 'left-origin-center' : 'right-origin-center' ; } }
After initialized, check if the content is centered and has an origin.
After initialized check if the content is centered and has an origin .