0.1.0 • Published 5 years ago

vue-autosize-input-directive v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

vue-autosize-input-directive

Support Vue 2 Version License

Yet another Vue directive to change <input> width automatically by content length. It works well on IME by using autosize-input internally.

Install

npm i vue-autosize-input-directive

Usage

import Vue from 'vue';
import VueAutosizeInputDirective from 'vue-autosize-input-directive';

Vue.use(VueAutosizeInputDirective);

Then use that accessor to access the namespaced module like

<input type="text" v-autosize-input />

See ./example/src/App.vue for more detail.

Comparison

NameReason
vue-autosizeWorks well on IME but seems not maintained
vue-input-autowidthDoes not work on IME
0.1.0

5 years ago