ngx-slice-kit
Version:
[](https://badge.fury.io/js/ngx-slice-kit)
25 lines (24 loc) • 1.19 kB
TypeScript
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { DropdownService } from '../dropdown.service';
import { OptionModel } from '../dropdown-option.model';
import { Subscription } from 'rxjs';
import { OptionsService } from '../options.service';
import * as i0 from "@angular/core";
export declare class DropdownMenuTriggerDirective implements OnDestroy {
private platformId;
private dropdownService;
private el;
private optionsService;
options: OptionModel[];
fitWidth: boolean;
resultEvent: EventEmitter<any>;
opened: EventEmitter<any>;
closed: EventEmitter<any>;
sub: Subscription;
isOpened: boolean;
constructor(platformId: any, dropdownService: DropdownService, el: ElementRef, optionsService: OptionsService);
open(): void | undefined;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuTriggerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownMenuTriggerDirective, "[sdkDropdownMenuTrigger]", never, { "options": "options"; "fitWidth": "fitWidth"; }, { "resultEvent": "resultEvent"; "opened": "opened"; "closed": "closed"; }, never, never, false>;
}