0.1.0 • Published 5 years ago
vue-autosize-input-directive v0.1.0
vue-autosize-input-directive
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
Name | Reason |
---|---|
vue-autosize | Works well on IME but seems not maintained |
vue-input-autowidth | Does not work on IME |
0.1.0
5 years ago