Textarea resizer

Example


Installation

$ npm i -S storm-textarea

Usage

JS

Either import and initialise using a named import:

import Tabs from 'storm-textarea';
Textarea.init('.js-textarea');

Or async using storm-load.js, add the .standalone file to your project, then initialise using the global name:

Load('/content/js/async/storm-textarea.standalone.js')
.then(() => {
    StormTextarea.init('.js-textarea');
});