jQuery Autosize updated for meteor 0.9.0 ("a plugin to automatically adjust textarea height") repackaged for Meteor.
meteor add copleykj: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 and updated by Kelly Copley (@copleykj) for the new 0.9.0 packaging system.