Try it out!
You can get the code from Github, by cloning the repository, like so:
$ git clone email@example.com:carlrafting/autogrow.git
If you'd rather like to download a .zip, check out the releases.
Add this line inside your
<link rel="stylesheet" href="path/to/autogrow.css">
And this one before
As an alternative you could just copy-and-paste the following code into your existing project files.
After you have linked to the autogrow files, you'll need to wrap your
textareas in a container, a
div for example, but anything works, and set the containers
.autogrow-container. You can also set your own class on the container, see customization options below. This is what it should look like with the default container class-name:
autogrow.init() from your script.
autogrow gives you options to set different class-names to the elements that get generated by the script. These are the options that you can set: