@angular-mdc/web
Version:
35 lines (34 loc) • 1.08 kB
TypeScript
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { MdcRipple } from '@angular-mdc/web/ripple';
import { MdcIcon } from '@angular-mdc/web/icon';
export declare class MdcButtonLabel {
}
export declare class MdcButton implements OnInit, OnDestroy {
elementRef: ElementRef<HTMLElement>;
private _ripple;
get raised(): boolean;
set raised(value: boolean);
private _raised;
get unelevated(): boolean;
set unelevated(value: boolean);
private _unelevated;
get outlined(): boolean;
set outlined(value: boolean);
private _outlined;
get touch(): boolean;
set touch(value: boolean);
private _touch;
get disabled(): boolean;
set disabled(value: boolean);
private _disabled;
_icon: MdcIcon;
label?: string;
constructor(elementRef: ElementRef<HTMLElement>, _ripple: MdcRipple);
ngOnInit(): void;
ngOnDestroy(): void;
setDisabled(disabled: boolean): void;
/** Focuses the button. */
focus(): void;
getHostElement(): HTMLElement;
onClick(event: MouseEvent): void;
}