When initiating a new featherlight iframe, my code looks like this:
$.featherlight({
iframe: href,
iframeWidth: $(window).width(),
iframeHeight: $(window).height(),
openSpeed: 0,
beforeClose: myBeforeCloseCallback
});
Is there a way to later modify the properties of the already opened featherlight window, such as beforeClose
, and load a new URL? I assume it involves using $.featherlight.current();
, but what steps come after that?