@vismaux/ngx-nordic-cool
Version:
Common Nordic-Cool components for Angular.
15 lines (14 loc) • 737 B
TypeScript
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NcOutsideClickDirective implements AfterViewInit, OnDestroy {
private el;
private ngZone;
private destroyed$;
excludedElements: HTMLElement[];
outsideClick: EventEmitter<any>;
constructor(el: ElementRef<HTMLElement>, ngZone: NgZone);
ngAfterViewInit(): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NcOutsideClickDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NcOutsideClickDirective, "[ncOutsideClick]", never, { "excludedElements": "ncOutsideClickExcluded"; }, { "outsideClick": "ncOutsideClick"; }, never>;
}