angular-input-mask

WebJar for angular-input-mask

License

License

MIT
Categories

Categories

Angular User Interface Web Frameworks
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

angular-input-mask
Last Version

Last Version

0.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

angular-input-mask
WebJar for angular-input-mask
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/wender/angular-simple-input-mask

Download angular-input-mask

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/angular-input-mask/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>angular-input-mask</artifactId>
    <version>0.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/angular-input-mask/
implementation 'org.webjars.bower:angular-input-mask:0.0.8'
// https://jarcasting.com/artifacts/org.webjars.bower/angular-input-mask/
implementation ("org.webjars.bower:angular-input-mask:0.0.8")
'org.webjars.bower:angular-input-mask:jar:0.0.8'
<dependency org="org.webjars.bower" name="angular-input-mask" rev="0.0.8">
  <artifact name="angular-input-mask" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='angular-input-mask', version='0.0.8')
)
libraryDependencies += "org.webjars.bower" % "angular-input-mask" % "0.0.8"
[org.webjars.bower/angular-input-mask "0.0.8"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.bower : angular jar [1.0.8,2)

Project Modules

There are no modules declared in this project.

Simple input mask directive for AngularJS


Way simple Angular directive to apply mask to input fields also with dynamic/multiple masks to the same field, which means that you can have different masks for different lengths of numbers

DEMO

Mask format uses 0 Example: 0000-0000-0000-0000

Directive will look for attribute angular-mask on input

Example:

<input name="test" maxlengh="19" angular-mask="0000-0000-0000-0000" />

Multiple masks

<input name="test" maxlengh="19" angular-mask="(00)00000-0000|(00)0000-0000" />

Use | to separate masks

Install via bower

bower install angular-input-mask --save

Versions

Version
0.0.8