UNPKG

@taiga-ui/event-plugins

Version:

This is a library for optimizing performance sensitive events and declarative preventDefault and stopPropagation

11 lines (10 loc) 519 B
import type { EventManager } from '@angular/platform-browser'; import type { EventManagerPlugin } from '../types/event-manager-plugin'; export declare abstract class TimedEventPlugin implements EventManagerPlugin { protected abstract readonly regExp: RegExp; manager: EventManager; abstract addEventListener(element: HTMLElement, event: string, handler: Function): Function; supports(event: string): boolean; protected getDelay(event: string): number; protected unwrap(event: string): string; }