Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-mask-input

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-mask-input

Ember input component that uses jquery-mask-plugin

  • 3.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
311
decreased by-41.87%
Maintainers
1
Weekly downloads
 
Created
Source

ember-mask-input

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.

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.

{{ember-mask-input value='1234123443214321' mask='0000.0000.0000.0000' }}

You can handle actions as onUpdate parameter.

{{ember-mask-input value='1234123443214321' mask='0000.0000.0000.0000' onUpdate=(action 'myMaskAction') }}

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

{{ember-mask-input alue='TR62 5373 4587 2624 9832 3024 26' maskType='iban' }}

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

{{ember-mask-input alue='TR62 5373 4587 2624 9832 3024 26' maskType='iban' bindMasked=true }}

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 03 Dec 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc