UNPKG

@cisstech/nge

Version:

NG Essentials is a collection of libraries for Angular developers.

22 lines (21 loc) 1.26 kB
import { EventEmitter } from '@angular/core'; import * as i0 from "@angular/core"; export declare class LongPressDetectorDirective { longPressDuration: number; longPress: EventEmitter<MouseEvent | TouchEvent>; longPressEnd: EventEmitter<boolean>; private timeout?; private pressing; onMouseDown(event: MouseEvent | TouchEvent): void; onMouseUp(): void; static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDetectorDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDetectorDirective, "[long-press-detector]", never, { "longPressDuration": { "alias": "longPressDuration"; "required": false; }; }, { "longPress": "longPress"; "longPressEnd": "longPressEnd"; }, 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 LongPressDetectorDirectiveModule { static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDetectorDirectiveModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<LongPressDetectorDirectiveModule, never, [typeof LongPressDetectorDirective], [typeof LongPressDetectorDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<LongPressDetectorDirectiveModule>; }