Category: Form

Vue.js components, plugins, and other related libraries for handling, enhancing, and manipulating HTML forms on your web applications.

Security Code Input For Vue.js

A security pincode input component for Vue.js app. Usage: <template> <security-code v-model=”code”></security-code> </template> <script> import SecurityCode from ‘vue-security-code’ // Declare export default { components: { SecurityCode }, data () { return { code: ” } } } </script> Props. length: { type: Number, default: 4 }, placeholder: { type: String, default: ‘-‘ }, theme: { type: String, default: ‘block’ } Preview:

Circular Text Counter For Vue.js

A vue.js component to create a circular progress bar that represents the number of characters typed in a textarea element. Usage: Import the text counter component. import Vue from ‘vue’; import VueTwitterCounter from ‘./components/VueTwitterCounter.vue’; Create a new Vue app instance. window.app = new Vue({ el: ‘#app’, components: { VueTwitterCounter, }, data () { return { message: ”, }; }, computed: { message_length () { return this.message.length; }, }, }); Default props. /* * The min rest to show the warns. */ warnLength: { type: Number, default: 20, }, /* * The length to be in danger. */ dangerAt: { type: Number,