View render event

59 views
Skip to first unread message

Thiago Souza

unread,
Oct 2, 2012, 5:11:01 PM10/2/12
to agil...@googlegroups.com
Hi,

     I'm quite new to agility.js and I'm trying to use jLayout jQuery plugin with it. This plugin allows me to layout child elements in a declarative way (http://www.bramstein.com/projects/jlayout/jquery-plugin.html). The plugins main entry point is $.layout().
     I was trying to invoke the layout method in controller's create event but it seems that view's dom is not fully initialized yet, that is, no sizing information is available yet. A workaround is deferring the invocation, but I don't want to do it... any idea on how can this be solved?

Thanks,
Thiago Souza
    

peex

unread,
Oct 4, 2012, 2:21:49 PM10/4/12
to agil...@googlegroups.com
Hi,

maybe this is the same as https://github.com/arturadib/agility/issues/52

BTW: I like the Bootstrap way of layouting, especially the fluid grid system. Works with no JS at all but pure LESS/CSS and it is easy to implement this with agility objects.

Thiago Souza

unread,
Oct 4, 2012, 2:43:56 PM10/4/12
to agil...@googlegroups.com
Hi,

    Thanks for pointing out the issue!

    I'm new to fluid grid systems, still learning it. As I'm quite used to JS layout, I'll stick to it for now...

Cheers
Reply all
Reply to author
Forward
0 new messages