jquery-inputmask-canjs

0.3.5 • Public • Published

jquery-inputmask-canjs

Build Status

Usage

This is a CanJS wrapper for jquery.inputmask. It uses can.view.attr to instantiate the plugin based on the inputmask attribute.

Install

$ npm install jquery-inputmask-canjs

Stache template:

<can-import from="jquery-inputmask-canjs" />
<input inputmask="99-9999999" type="text" />
<input inputmask="9-a{1,3}9{1,3}" type="text" />

inputmask demo

Contributing

Making a Build

To make a build of the distributables into dist/ in the cloned repository run

npm install
node build

Running the tests

Tests can run in the browser by opening a webserver and visiting the test.html page. Automated tests that run the tests from the command line in Firefox can be run with

npm test

Package Sidebar

Install

npm i jquery-inputmask-canjs

Weekly Downloads

7

Version

0.3.5

License

none

Last publish

Collaborators

  • ilyavf
  • marcgodard