superbox
superbox copied to clipboard
Refresh layout callback
I would like to implement a refresh callback to allow the layout to essentially refresh, like it does on window resize. However, I am a newbie to building plugins, and I can't work out how to to do it. Please can you help me.
Reason for this is I would like to use Superbox inside a modal, however when I initialize the plugin and then open the modal, Superbox layout is all wrong. However with the callback, I can just refresh the layout upon opening the modal. Please help.