/vue-upper

Primary LanguageJavaScriptMIT LicenseMIT

Vue Upper

A directive for Vuejs to transform the text to upper over an input, even transforming when binding a variable. You can see a demo here.

Install

NPM:

npm install --save vue-upper

Usage instructions

Install the directive globally on your main.js

import VueUpper from 'vue-upper';

Vue.use(VueUpper);

How to use it

  <input v-upper type="text" v-model="yourVariable">

License

MIT