UNPKG

@taiga-ui/core

Version:

Core library for creating Angular components and applications using Taiga UI

31 lines (30 loc) 1.5 kB
import { type AfterViewInit } from '@angular/core'; import { TuiDropdownDirective } from './dropdown.directive'; import * as i0 from "@angular/core"; import * as i1 from "@taiga-ui/cdk/directives/active-zone"; import * as i2 from "@taiga-ui/cdk/directives/animated"; /** * @description: * This component is used to show template in a portal * using default style of white rounded box with a shadow */ export declare class TuiDropdownComponent implements AfterViewInit { private readonly el; private readonly accessor; private readonly viewport; private readonly vvs; private readonly styles$; protected readonly options: import("./dropdown-options.directive").TuiDropdownOptions; protected readonly directive: TuiDropdownDirective; protected readonly context: Record<any, any> | null; protected readonly darkMode: import("@angular/core").WritableSignal<boolean> & { reset(): void; }; protected readonly position: "fixed" | "absolute"; protected readonly theme: import("@angular/core").Signal<string | null | undefined>; ngAfterViewInit(): void; protected readonly close: () => void; private getStyles; static ɵfac: i0.ɵɵFactoryDeclaration<TuiDropdownComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TuiDropdownComponent, "tui-dropdown", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiActiveZone; inputs: {}; outputs: {}; }, { directive: typeof i2.TuiAnimated; inputs: {}; outputs: {}; }]>; }