UNPKG

@coreui/angular

Version:

CoreUI for Angular UI components library

37 lines (36 loc) 1.4 kB
import { ElementRef, OnDestroy, OnInit } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import { DropdownService } from '../dropdown.service'; import * as i0 from "@angular/core"; export declare class DropdownMenuDirective implements OnInit, OnDestroy { elementRef: ElementRef; private dropdownService; static ngAcceptInputType_dark: BooleanInput; constructor(elementRef: ElementRef, dropdownService: DropdownService); /** * Set alignment of dropdown menu. * @type {'start' | 'end' } */ alignment?: 'start' | 'end' | string; /** * Toggle the visibility of dropdown menu component. */ visible: boolean; /** * Sets a darker color scheme to match a dark navbar. */ get dark(): boolean; set dark(value: boolean); private _dark; private dropdownStateSubscription; get hostClasses(): any; get hostStyles(): { visibility: string | null; display: string | null; }; ngOnInit(): void; ngOnDestroy(): void; private dropdownStateSubscribe; static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownMenuDirective, "[cDropdownMenu]", ["cDropdownMenu"], { "alignment": "alignment"; "visible": "visible"; "dark": "dark"; }, {}, never, never, false>; }