![]() |
8 hónapja | |
---|---|---|
.. | ||
img | f2f6b57944 Losslessly optimize PNGs (-522KB) | 1 éve |
lib | 3a92cabc3f updated meteor-autosize to version 5.0.1 | 3 éve |
LICENSE | 47446315ad Adding verron:autosize (meteor-autoresize) | 3 éve |
README.md | 47446315ad Adding verron:autosize (meteor-autoresize) | 3 éve |
package.js | 6e8e581ceb Testing packages without versions from | 8 hónapja |
Ever wondered how to make autoresizable Facebook-style textarea inputs? Autosize is a small, stand-alone script to automatically adjust (resize) textarea height to fit text. Repackaged for Meteor.
meteor add verron:autosize
// from a NodeList
autosize(document.querySelectorAll('textarea'));
// from a single Node
autosize(document.querySelector('textarea'));
// from a jQuery collection
autosize($('textarea'));
Chrome | Firefox | IE | Safari | iOS Safari | Android | Opera Mini | Windows Phone IE |
---|---|---|---|---|---|---|---|
yes | yes | 9 | yes | yes | 4 | ? | 8.1 |
http://www.jacklmoore.com/autosize/
https://github.com/jackmoore/autosize/
The Meteor repackage was created by Spendflow, updated by Kelly Copley (@copleykj) for the new 0.9.0 packaging system and updated to v3 (pure javascript version) by Ronen Verdi (@v3rron).