Manually trigger Elastic init

27 views
Skip to first unread message

Kendall Arneaud

unread,
Aug 19, 2012, 4:00:16 PM8/19/12
to elastic-cs...@googlegroups.com
Is there anyway to MANUALLY initialize elastic?

I ask this because I have a situation where I have static markup that is regenerated after an ajax call

debugging reveals that elastic tags the markup with a "elastic-row-last"

I think this may be hampering the layout a bit...

If after some sort of ajax call i can Elastic.reinit() perhaps?

Fernando Trasvina

unread,
Aug 19, 2012, 7:24:01 PM8/19/12
to elastic-cs...@googlegroups.com
there is Elastic.refresh() for that.

elastic-row-last should be working but maybe you can create a jsfiddle so i can try it out and detect if there is a problem.

thx.

--
You received this message because you are subscribed to the Google Groups "Elastic CSS Framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elastic-css-framework/-/Nve9TzTuLZkJ.
To post to this group, send email to elastic-cs...@googlegroups.com.
To unsubscribe from this group, send email to elastic-css-fram...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elastic-css-framework?hl=en.



--
Humankind cannot gain anything without first giving something in return. To obtain, something of equal value must be lost. That is alchemy’s first Law of Equivalent Exchange. ~ Alphonse Elric, Full Metal Alchemist

azendal

unread,
Aug 20, 2012, 9:06:47 AM8/20/12
to elastic-cs...@googlegroups.com
you could also bind to elastic:beforeInitialize event that gets dispatched on document.body but i think refresh is better if you are going to do some ajax requests.


On Sunday, August 19, 2012 6:24:01 PM UTC-5, azendal wrote:
there is Elastic.refresh() for that.

elastic-row-last should be working but maybe you can create a jsfiddle so i can try it out and detect if there is a problem.

thx.

On Sun, Aug 19, 2012 at 3:00 PM, Kendall Arneaud <kendall...@gmail.com> wrote:
Is there anyway to MANUALLY initialize elastic?

I ask this because I have a situation where I have static markup that is regenerated after an ajax call

debugging reveals that elastic tags the markup with a "elastic-row-last"

I think this may be hampering the layout a bit...

If after some sort of ajax call i can Elastic.reinit() perhaps?

--
You received this message because you are subscribed to the Google Groups "Elastic CSS Framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elastic-css-framework/-/Nve9TzTuLZkJ.
To post to this group, send email to elastic-css-framework@googlegroups.com.
To unsubscribe from this group, send email to elastic-css-framework+unsub...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/elastic-css-framework?hl=en.
Reply all
Reply to author
Forward
0 new messages