Menu icon Foundation
Foundation 6 & Reflow

Hi,

How does reflows behave with FD6?

With 5 it was possible to call reflows on specific elements, which is super handy if you;re dealing with ajax data. It was also incredibly useful for updating Interchange when you change background images and such.

eg:

$('.itemclass').foundation('reflow');
            

         

Is there an equivalent in FD6?

Thanks

foundation 6Reflow

Hi,

How does reflows behave with FD6?

With 5 it was possible to call reflows on specific elements, which is super handy if you;re dealing with ajax data. It was also incredibly useful for updating Interchange when you change background images and such.

eg:

$('.itemclass').foundation('reflow');
            

         

Is there an equivalent in FD6?

Thanks

This post has been closed. No new replies can be added.

Chris Oyler over 3 years ago

Reflow is a little different than it used to be, though I'm all ears if the community wants to chime in on what they think reflow should do.
That being said, to reflow an element, (sort of), just call:
JavaScript
$('someSelector').foundation();

Ruan Hanekom over 3 years ago

Thanks Chris

I don't think we'll be upgrading our current F5 sites to 6 any time soon. We'd have to pretty much rewrite all our Foundation related Javascript - not to mention all the data label changes.

Looking forward to using 6 in new projects.

Cheers