PluginProbe
Booking Calendar / 11.9
Booking Calendar v11.9
11.9 11.8.4 11.8.3 11.8.2 11.8.1 11.8 11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 All 205 releases
booking / vendors / imask / esm / controls / mask-element.d.ts

mask-element.d.ts in Booking Calendar 11.9, at vendors/imask/esm/controls/mask-element.d.ts

31 lines 1017 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 export type ElementEvent = 'selectionChange' | 'input' | 'drop' | 'click' | 'focus' | 'commit';
2 export type EventHandlers = {
3 [key in ElementEvent]: (...args: any[]) => void;
4 } & {
5 undo?: (...args: any[]) => void;
6 redo?: (...args: any[]) => void;
7 };
8 /** Generic element API to use with mask */
9 export default abstract class MaskElement {
10 /** */
11 abstract _unsafeSelectionStart: number | null;
12 /** */
13 abstract _unsafeSelectionEnd: number | null;
14 /** */
15 abstract value: string;
16 /** Safely returns selection start */
17 get selectionStart(): number;
18 /** Safely returns selection end */
19 get selectionEnd(): number;
20 /** Safely sets element selection */
21 select(start: number, end: number): void;
22 /** */
23 get isActive(): boolean;
24 /** */
25 abstract _unsafeSelect(start: number, end: number): void;
26 /** */
27 abstract bindEvents(handlers: EventHandlers): void;
28 /** */
29 abstract unbindEvents(): void;
30 }
31 //# sourceMappingURL=mask-element.d.ts.map