UNPKG

survey-angular-ui

Version:

A free MIT-licensed Angular UI component that renders dynamic, interactive JSON-based forms and surveys. You can use it to collect responses from users and send them to your own database.

26 lines (25 loc) 1.02 kB
import { ElementRef, SimpleChanges, OnChanges, OnDestroy } from "@angular/core"; import { IAttachKey2clickOptions } from "survey-core"; import * as i0 from "@angular/core"; export declare class Key2ClickDirective implements OnChanges, OnDestroy { private el; static defaultOptions: IAttachKey2clickOptions; private isSubscribed; private isPointerUpSubscribed; options?: IAttachKey2clickOptions; key2click?: IAttachKey2clickOptions; private onkeydown; private onkeyup; private onpointerup; private blur; constructor(el: ElementRef); get element(): any; subscribePointerUp(): void; unsubscribePointerUp(): void; subscribeEventListeners(): void; unsubscribeEventListeners(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<Key2ClickDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<Key2ClickDirective, "[key2click]", never, { "key2click": "key2click"; }, {}, never>; }