@cisstech/nge
Version:
NG Essentials is a collection of libraries for Angular developers.
22 lines (21 loc) • 1.14 kB
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class TouchDetectorDirective {
private readonly el;
private _hover;
get hover(): boolean;
onUpWhileHovering: EventEmitter<void>;
constructor(el: ElementRef<HTMLElement>);
protected touchmove(event: any): void;
protected touchup(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TouchDetectorDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TouchDetectorDirective, "[touch-detector]", ["touch-detector"], {}, { "onUpWhileHovering": "onUpWhileHovering"; }, never, never, true, never>;
}
/**
* @deprecated in favor of standalone api, so please use direclty the directive as a standalone. Will be removed in/after v18
*/
export declare class TouchDetectorDirectiveModule {
static ɵfac: i0.ɵɵFactoryDeclaration<TouchDetectorDirectiveModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<TouchDetectorDirectiveModule, never, [typeof TouchDetectorDirective], [typeof TouchDetectorDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<TouchDetectorDirectiveModule>;
}