Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Document Fragment, ejs, jQuery-plugin, width and height

$
0
0
I will typically make these types of widgets work with jQuery++'s resize event.  After inserting the fragment, I'll call .resize() on the container.


Autogrow should be listening to resize and do it's sizing.

$("#form").html( can.view("template.ejs", data ) ).resize()

Viewing all articles
Browse latest Browse all 3491

Trending Articles