/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Component, ElementRef, HostListener, HostBinding, Input } from '@angular/core';
import { ScrollTabService } from '../scroll-tab/scroll-tab.service';
var ScrollTabButtonComponent = /** @class */ (function () {
    function ScrollTabButtonComponent(elementRef, scrollTabService) {
        this.elementRef = elementRef;
        this.scrollTabService = scrollTabService;
        this.selected = false;
    }
    /**
     * @return {?}
     */
    ScrollTabButtonComponent.prototype.click = /**
     * @return {?}
     */
    function () {
        this.scrollTabService.selected(this);
    };
    ScrollTabButtonComponent.decorators = [
        { type: Component, args: [{
                    selector: 'ui-scroll-tab-button',
                    template: "<ng-content></ng-content>"
                },] },
    ];
    /** @nocollapse */
    ScrollTabButtonComponent.ctorParameters = function () { return [
        { type: ElementRef, },
        { type: ScrollTabService, },
    ]; };
    ScrollTabButtonComponent.propDecorators = {
        "selected": [{ type: Input }, { type: HostBinding, args: ['class.ui-selected',] },],
        "click": [{ type: HostListener, args: ['click',] },],
    };
    return ScrollTabButtonComponent;
}());
export { ScrollTabButtonComponent };
function ScrollTabButtonComponent_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    ScrollTabButtonComponent.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    ScrollTabButtonComponent.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    ScrollTabButtonComponent.propDecorators;
    /** @type {?} */
    ScrollTabButtonComponent.prototype.selected;
    /** @type {?} */
    ScrollTabButtonComponent.prototype.elementRef;
    /** @type {?} */
    ScrollTabButtonComponent.prototype.scrollTabService;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLXRhYi1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHRhbmJvL3VpLW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