Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
github.com/seokky/vue-pincode-input
Great pincode input component for Vue.js applications.
Demo on GitHub Pages
Styles that component have are written just for demo. But that styles are override-friendly, so you can write any styles you want.
npm i --save vue-pincode-input
or with yarn
yarn add vue-pincode-input
Then in any component:
import PincodeInput from 'vue-pincode-input';
// The name can be different depending on your desire
<div class="input-wrapper">
<PincodeInput
v-model="code"
placeholder="0"
/>
</div>
Attention: you should use 'input.vue-pincode-input' instead '.vue-pincode-input' in order to rule specificity was higher
<style>
div.vue-pincode-input-wrapper {
// any styles you want for wrapper
}
input.vue-pincode-input {
// any styles you want for each cell
}
<style>
length (symbols count)
autofocus (auto focus first cell)
secure (password input type)
characterPreview (preview character on typing)
previewDuration (duration of character preview)
FAQs
Unknown package
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.