An open API service indexing awesome lists of open source software.

https://github.com/alessiobianchini/ng-pattern-mask

Angular library for input masks
https://github.com/alessiobianchini/ng-pattern-mask

angular date directive input mask ng pattern

Last synced: about 2 months ago
JSON representation

Angular library for input masks

Awesome Lists containing this project

README

          


NgPatternMask

Angular library to mask input fields using a pattern.

---

## Status
[![Build and publish library to github registry](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-github.yml/badge.svg)](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-github.yml)
[![Build and publish library to npm.js registry](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-npmjs.yml/badge.svg)](https://github.com/alessiobianchini/ng-pattern-mask/actions/workflows/release-package-npmjs.yml)

## Demo app

Run `ng serve` for a dev server with an example. Navigate to `http://localhost:4200/`.

## Install
`npm install ng-pattern-mask`

## Configuration
```javascript
import {NgPatternMaskModule} from 'ng-pattern-mask';

@NgModule({
imports: [
NgPatternMaskModule,
...
],
...
}) {...}
```

## Basic usage
```html

ngpmCharPlaceholders="_"
/>
```