UNPKG

@ux-aspects/ux-aspects

Version:

Open source user interface framework for building modern, responsive, mobile big data applications

29 lines (28 loc) 1.33 kB
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { FloatingActionButtonsService } from './floating-action-buttons.service'; import * as i0 from "@angular/core"; export declare class FloatingActionButtonComponent implements AfterViewInit, OnDestroy { readonly fab: FloatingActionButtonsService; private readonly _tooltip; /** Define the aria label for the button */ ariaLabel: string; /** Access the element ref of the button element */ button: ElementRef; /** Determine if this is the primary button in the set */ primary: boolean; /** Store the tabindex */ tabindex$: BehaviorSubject<number>; /** Unsubscribe from all observables on component destroy */ private readonly _onDestroy; constructor(primary: string); ngAfterViewInit(): void; ngOnDestroy(): void; focus(): void; onFocus(): void; onBlur(): void; close(): void; onKeydown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<FloatingActionButtonComponent, [{ attribute: "fab-primary"; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<FloatingActionButtonComponent, "ux-floating-action-button", never, { "ariaLabel": { "alias": "aria-label"; "required": false; }; }, {}, never, ["*"], false, never>; }