Use copleykj:jquery-autosize
for Meteor 0.9.0+.
jQuery Autosize ("a plugin to automatically adjust textarea height") repackaged for Meteor.
npm install -g meteorite
(if not already installed)mrt add jquery-autosize
- Call
$(selector).autosize()
in yourTemplate.templateName.rendered
callback, whereselector
is a jQuery selector.
Example:
$textarea = ('#textarea-selector', $(this.firstNode)); // Second argument establishes jQuery context
$textarea.autosize();
http://www.jacklmoore.com/autosize/
https://github.com/jackmoore/autosize/
The Meteor repackage was created by Spendflow, a web app to help you budget the money you have.
Click to sign up for the private beta.
Follow Spendflow on Twitter: @spendflow Follow @wizonesolutions on Twitter: @wizonesolutions