UNPKG

restricted-input

Version:

Restrict inputs to certain valid characters (e.g. formatting phone or card numbers)

12 lines (11 loc) 376 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.StrategyInterface = void 0; var StrategyInterface = /** @class */ (function () { function StrategyInterface(options) { this.inputElement = options.element; this.isFormatted = false; } return StrategyInterface; }()); exports.StrategyInterface = StrategyInterface;