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.renderedcallback, whereselectoris 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