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