Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

ember-mask-input

Package Overview
Dependencies
302
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ember-mask-input

Ember input component that uses jquery-mask-plugin


Version published
Weekly downloads
386
increased by123.12%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

ember-mask-input

npm version downloads Build Status Ember Observer Score Dependency Status devDependency Status Code Climate

ember-mask-input is an addon that enables you creating masked text inputs in your Ember.js application. jquery-mask-plugin is used in background.

Compatibility

  • Ember.js v3.12 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Installation

cd your-project-directory
ember install ember-mask-input

Usage

You can pass your value as value parameter and custom mask type as mask parameter.

<EmberMaskInput @value='1234123443214321' @mask='0000.0000.0000.0000' />

You can handle actions as onUpdate parameter.

<EmberMaskInput @value='1234123443214321' @mask='0000.0000.0000.0000' @onUpdate={{this.myMaskAction}} />

You can use default maskType parameters which are iban, phone-no, credit-card.

<EmberMaskInput @value={{this.ibanValue}} @maskType='iban' />

You can bind masked value by setting bindMasked parameter to true.

<EmberMaskInput @value='TR62 5373 4587 2624 9832 3024 26' @maskType='iban' @bindMasked={{true}} />

Checkout live examples at ember-mask-input demo page

License

This project is licensed under the MIT License.

Keywords

FAQs

Last updated on 08 Dec 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc