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

@pderas/vue2-chars

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pderas/vue2-chars

A string of tokens that produces that many single input boxes

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
2
Weekly downloads
 
Created
Source

Vue Chars

A vue.js plugin that gets takes a string of tokens and produces that many single input boxes. The value, however, will be one connected string (e.i. Not a bunch of single characters seperated)

How to initialize Vue Utilities

Vue chars is built as a vue plugin to allow for use throughout the application.

import Chars from "@pderas/vue2-chars";

Vue.use(Chars);

Usage

Creation

Vue chars is easily created, but at mininum requires a mask. Having said that, Vue chars works best with v-model.

<chars mask="####" v-model="myVar"></chars>

Properties

PropertyRequiredTypeDefaultDescription
masktrueNumbern/aThe mask for the input
valuefalseNumber|String0Value for the input, can be used with v-model
Masks
MaskDescription
#Number character only
XAlphanumeric character only
SAlphabetic character only
AAlphabetic character only (will convert to uppercase)
aAlphabetic character only (will conver to lowercase)

License

This project is covered under the MIT License. Feel free to use it wherever you like.

Keywords

FAQs

Package last updated on 24 Jan 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