1.0.9 • Published 7 years ago
altai_autosize v1.0.9
Altai Autosize
Automatically adjust textarea height to fit text.
Installation
NPM
npm i altai_autosizeYarn
yarn add altai_autosizeRuby on Rails
Add this line to your application.js
//= require jquery/dist/jquery
//= require autosize/dist/autosize
//= require altai_autosize/dist/altai_autosizeSet by using the following:
$(".altai-autosize").altaiAutosize();Settings:
## Print log messages in your developer console.
debug: true or falseLicense
The gem is available as open source under the terms of the MIT License.