How to reset Magellan barOffset after initialization?
Tried these, but not working:
Quick fix:
var data_zfPlugin = $menu_zf_magellan
.data('zfPlugin')
data_zfPlugin.options.barOffset = new_offset_100
var data_zfPlugin = $menu_zf_magellan
.data('zfPlugin', data_zfPlugin)
@klihelp is here a way to reset/reinit the plugin? im trying to fix the following issue https://github.com/zurb/foundation-sites/issues/9829
@fchengpc
see above;
foundation('reflow') miss to refresh modified options.
$element.foundation('destroy'), then $element.foundation() neither;
and this didn't initialize for toogle-element inside magellan-element
Good this going to be resolved:)
Is this resolved and made it into the 6.4?
https://github.com/zurb/foundation-sites/releases/tag/v6.4.0
reflow is just for the styles and state and not the whole options object.
@klihelp a codepen could be very helpful to have some sort of testcase for us.
Most helpful comment
Good this going to be resolved:)