UNPKG

@taiga-ui/event-plugins

Version:

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

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