Nondeterministic Palindrome Machine

npm

Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »

vue-autosize-textarea

0.0.1 • Public • Published

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

Keywords

none

install

npm i vue-autosize-textarea

Downloadsweekly downloads

91

version

0.0.1

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability