@funidata/ngx-fudis
Version:
Funidata Design System.
35 lines (34 loc) • 1.16 kB
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class DropdownBaseDirective {
/**
* Template reference for the dropdown div element
*/
dropdownElement: ElementRef<HTMLElement>;
/**
* Binding host CSS class to component wrapper
*/
hostClass: string;
/**
* Output emitter for focus event
*/
handleFocus: EventEmitter<FocusEvent>;
/**
* Output emitter for blur event
*/
handleBlur: EventEmitter<FocusEvent>;
/**
* Id for Dropdown Menu. Generated with FudisIdService
*/
id: string;
/**
* When dropdown is focused, happens e. g. with Firefox
*/
protected _dropdownFocus(event: FocusEvent): void;
/**
* When dropdown is blurred, happens e. g. with Firefox
*/
protected _dropdownBlur(event: FocusEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownBaseDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownBaseDirective, "[fudisDropdownBase]", never, {}, { "handleFocus": "handleFocus"; "handleBlur": "handleBlur"; }, never, never, false, never>;
}