@angular-mdc/web
Version:
40 lines (39 loc) • 1.27 kB
TypeScript
import { AfterContentInit, ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
import { MdcRipple } from '@angular-mdc/web/ripple';
import { MdcIcon } from '@angular-mdc/web/icon';
export declare class MdcFabLabel {
}
export declare class MdcFab implements AfterContentInit, OnDestroy {
private _changeDetectionRef;
elementRef: ElementRef<HTMLElement>;
private _ripple;
get mini(): boolean;
set mini(value: boolean);
private _mini;
get touch(): boolean;
set touch(value: boolean);
private _touch;
get exited(): boolean;
set exited(value: boolean);
private _exited;
get extended(): boolean;
set extended(value: boolean);
private _extended;
get fluid(): boolean;
set fluid(value: boolean);
private _fluid;
get position(): string | null;
set position(value: string | null);
private _position;
label?: string;
icon?: string;
fabIcon: MdcIcon;
constructor(_changeDetectionRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>, _ripple: MdcRipple);
ngAfterContentInit(): void;
private _convertPosition;
ngOnDestroy(): void;
toggleExited(exited?: boolean): void;
/** Focuses the button. */
focus(): void;
private _getHostElement;
}