import { ElementRef, EventEmitter, Renderer2 } from '@angular/core'; import { DisplayDensityBase, IDisplayDensityOptions } from '../../core/density'; export declare class IgxButtonDirective extends DisplayDensityBase { element: ElementRef; private _renderer; protected _displayDensityOptions: IDisplayDensityOptions; /** *@hidden */ private _type; /** *@hidden */ private _defaultType; /** *@hidden */ private _cssClassPrefix; /** *@hidden */ private _color; /** *@hidden */ private _label; /** *@hidden */ private _backgroundColor; /** *@hidden */ private _disabled; constructor(element: ElementRef, _renderer: Renderer2, _displayDensityOptions: IDisplayDensityOptions); /** * Returns the underlying DOM element */ readonly nativeElement: any; /** * Called when the button is clicked */ buttonClick: EventEmitter; /** * Sets/gets the `role` attribute. * ```typescript * this.button.role = 'navbutton'; * ``` * ```typescript * let buttonRole = this.button.role; * ``` * @memberof IgxButtonDirective */ role: string; /** * Sets the type of the button. * ```html * * ``` * @memberof IgxButtonDirective */ type: string; /** * Sets the button text color. * ```html * * ``` * @memberof IgxButtonDirective */ color: string; /** * Sets the background color of the button. * ```html * * ``` * @memberof IgxButtonDirective */ background: string; /** * Sets the `aria-label` attribute. * ```html * * ``` * @memberof IgxButtonDirective */ label: string; /** * Enables/disables the button. * ```html * * ``` * @memberof IgxButtonDirective */ disabled: any; /** * @hidden */ readonly cssClassCosy: boolean; /** * @hidden */ readonly cssClassCompact: boolean; /** * @hidden */ readonly cssClassCosyFab: boolean; /** * @hidden */ readonly cssClassCompactFab: boolean; /** * @hidden */ readonly disabledAttribute: true; /** * Gets or sets whether the button is selected. * Mainly used in the IgxButtonGroup component and it will have no effect if set separately. * ```html * * ``` * @memberof IgxButtonDirective */ selected: boolean; /** *@hidden */ onClick(ev: any): void; } /** * @hidden */ export declare class IgxButtonModule { }