Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
autosize
Advanced tools
Changelog
v.3.0.4 - 2015-05-05
Readme
Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
Full documentation and a demo can be found at jacklmoore.com/autosize
npm install autosize
bower install autosize
Chrome | Firefox | IE | Safari | iOS Safari | Android | Opera Mini |
---|---|---|---|---|---|---|
yes | yes | 9 | yes | yes | 4 | ? |
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
FAQs
Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.
The npm package autosize receives a total of 543,461 weekly downloads. As such, autosize popularity was classified as popular.
We found that autosize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.