powerpagestoolkit
Version:
Reference, manipulate, and engage with Power Pages sites through the nodes in the DOM; use a variety of custom methods that allow customizing your power pages site quicker and easier.
12 lines (11 loc) • 383 B
TypeScript
/// <reference path="../globals.d.ts" />
/********/ /********/ export default abstract class InputMask {
abstract input: HTMLInputElement;
constructor();
protected abstract setupEventListeners(): void;
protected abstract formatInput(): void;
protected onFocus(): void;
protected onBlur(): void;
setValue(value: any): void;
abstract destroy(): void;
}