vue-textarea-autosize
Version:
Vue component provides textarea with automatically adjustable height and without any wrappers and dependencies
18 lines (13 loc) • 320 B
JavaScript
import TextareaAutosize from './components/TextareaAutosize.vue'
const version = '__VERSION__'
const install = Vue => {
Vue.component('TextareaAutosize', TextareaAutosize)
}
const plugin = {
install,
version
}
export default plugin
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(plugin)
}