autosize
Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
Last updated 3 years ago by jacklmoore .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install autosize 
SYNC missed versions from official npm registry.

Summary

Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.

Demo

Full documentation and a demo can be found at jacklmoore.com/autosize

Install via NPM

npm install autosize

Usage

The autosize function accepts a single textarea element, or an array or array-like object (such as a NodeList or jQuery collection) of textarea elements.

// from a NodeList
autosize(document.querySelectorAll('textarea'));

// from a single Node
autosize(document.querySelector('textarea'));

// from a jQuery collection
autosize($('textarea'));

Released under the MIT License

Current Tags

  • 6.0.1                                ...           latest (3 years ago)

34 Versions

  • 6.0.1                                ...           3 years ago
  • 6.0.0                                ...           3 years ago
  • 5.0.2                                ...           3 years ago
  • 5.0.1                                ...           5 years ago
  • 4.0.4                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 4.0.3                                ...           5 years ago
  • 4.0.2                                ...           8 years ago
  • 4.0.1                                ...           8 years ago
  • 4.0.0                                ...           9 years ago
  • 3.0.21                                ...           9 years ago
  • 3.0.20                                ...           9 years ago
  • 3.0.19                                ...           9 years ago
  • 3.0.18                                ...           9 years ago
  • 3.0.17                                ...           10 years ago
  • 3.0.16                                ...           10 years ago
  • 3.0.15                                ...           10 years ago
  • 3.0.14                                ...           10 years ago
  • 3.0.13                                ...           11 years ago
  • 3.0.12                                ...           11 years ago
  • 3.0.11                                ...           11 years ago
  • 3.0.10                                ...           11 years ago
  • 3.0.9                                ...           11 years ago
  • 3.0.8                                ...           11 years ago
  • 3.0.7                                ...           11 years ago
  • 3.0.6                                ...           11 years ago
  • 3.0.5                                ...           11 years ago
  • 3.0.4                                ...           11 years ago
  • 3.0.3                                ...           11 years ago
  • 3.0.2                                ...           11 years ago
  • 3.0.1                                ...           11 years ago
  • 3.0.0                                ...           11 years ago
  • 1.18.13                                ...           12 years ago
  • 2.0.1                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 15
Last Day 0
Last Week 15
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |