1 | import { ElementRef, Renderer, ModuleWithProviders } from '@angular/core';
|
2 | export declare class MdButton {
|
3 | private _elementRef;
|
4 | private _renderer;
|
5 | private _color;
|
6 |
|
7 | _isKeyboardFocused: boolean;
|
8 |
|
9 | _isMouseDown: boolean;
|
10 |
|
11 | disableRipple: boolean;
|
12 | constructor(_elementRef: ElementRef, _renderer: Renderer);
|
13 | color: string;
|
14 | _setMousedown(): void;
|
15 | _updateColor(newColor: string): void;
|
16 | _setElementColor(color: string, isAdd: boolean): void;
|
17 | _setKeyboardFocus(): void;
|
18 | _removeKeyboardFocus(): void;
|
19 | /** TODO(hansl): e2e test this function. */
|
20 | focus(): void;
|
21 | getHostElement(): any;
|
22 | isRoundButton(): any;
|
23 | isRippleEnabled(): boolean;
|
24 | }
|
25 | export declare class MdAnchor extends MdButton {
|
26 | _disabled: boolean;
|
27 | constructor(elementRef: ElementRef, renderer: Renderer);
|
28 | readonly tabIndex: number;
|
29 | readonly isAriaDisabled: string;
|
30 | disabled: boolean;
|
31 | _haltDisabledEvents(event: Event): void;
|
32 | }
|
33 | export declare class MdButtonModule {
|
34 | static forRoot(): ModuleWithProviders;
|
35 | }
|