New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-inputmask

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-inputmask

Aurelia plugin for https://github.com/RobinHerbots/Inputmask

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
326
decreased by-67.69%
Maintainers
1
Weekly downloads
 
Created
Source

aurelia-inputmask

Aurelia plugin for Inputmask

Installation

npm inputmask aurelia-inputmask --save

Configuration

// main.ts
export function configure(aurelia: Aurelia) {
    aurelia.use.plugin(PLATFORM.moduleName("aurelia-inputmask"));
    // the rest of your configuration...
}

Usage

<input inputmask="999-999-999" value.bind="rawValue" />
<input inputmask="mask: 999-999-999; value.bind: inputmaskValue; greedy.bind: false; is-value-masked: true" value.bind="rawValue" />
<input inputmask="mask: datetime; input-format: dd/mm/yyyy; value.bind: inputmaskValue" value.bind="rawValue" />

Not all original options are supported via the attribute, but you can use data-inputmask-<option> html attributes to configure the mask on an element.

Contribution

If you feel that something is missing please submit an issue or better yet a PR.

Keywords

FAQs

Package last updated on 14 Nov 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