vue-autosize-textarea
Vue.js port of [Autosize](https://github.com/jackmoore/autosize)
Last updated 5 years ago by kchan .
ISC · Original npm · Tarball · package.json
$ cnpm install vue-autosize-textarea 
SYNC missed versions from official npm registry.

vue-autosize-textarea

Vue.js port of Autosize

Usage with Webpack

Template:

<div id="app">
  <autosize-textarea resized="onResized" value="default value"></autosize-textarea>
</div>

Component

import Vue from 'vue'
import autosizeTextarea from 'vue-autosize-textarea'

new Vue({
  el: '#app',
  methods: {
    onResized () {
      console.log('resized!')
    }
  },
  components: {
    'autosize-textarea': autosizeTextarea
  }
})

Demo

https://egoist.github.io/vue-autosize-textarea

License

MIT

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

1 Versions

  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |