UNPKG

@uiowa/digit-only

Version:

This package includes two Angular directives. The digitOnly directive only allows numbers in the input box when typing, pasting or drag/dropping. The mask directive checks the input pattern attribute.

41 lines 1.03 kB
{ "name": "@uiowa/digit-only", "version": "4.0.0", "author": "Changhui Xu <changhui-xu@uiowa.edu>", "description": "This package includes two Angular directives. The digitOnly directive only allows numbers in the input box when typing, pasting or drag/dropping. The mask directive checks the input pattern attribute.", "keywords": [ "Angular", "directive", "number only", "digit only", "input", "paste", "drag drop", "mask", "pattern" ], "repository": { "type": "git", "url": "https://github.com/changhuixu/ngx-digit-only.git" }, "license": "MIT", "peerDependencies": { "@angular/common": "^19.2.0", "@angular/core": "^19.2.0" }, "dependencies": { "tslib": "^2.3.0" }, "sideEffects": false, "module": "fesm2022/uiowa-digit-only.mjs", "typings": "index.d.ts", "exports": { "./package.json": { "default": "./package.json" }, ".": { "types": "./index.d.ts", "default": "./fesm2022/uiowa-digit-only.mjs" } } }