mirror of
https://github.com/tenrok/vue-tribute.git
synced 2026-06-15 06:42:27 +03:00
23 lines
403 B
Markdown
23 lines
403 B
Markdown
# vue-input-autosize
|
|
|
|
> A simple Vue.js directive for autosizing a text input based on its content.
|
|
|
|
## Install
|
|
|
|
```js
|
|
$ npm install vue-input-autosize --save
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
import Vue from "vue";
|
|
import VueInputAutosize from "vue-input-autosize";
|
|
|
|
Vue.use(VueInputAutosize, { maxWidth: 500, minWidth: 20, comfortZone: 0 });
|
|
```
|
|
|
|
## License
|
|
|
|
MIT © [Collin Henderson](https://github.com/syropian)
|