Open aline-matos opened 7 years ago
It's possible to get the content before closing to load the same content after?
$('.panel-move').on('beforeClose.lobiPanel', function(ev, lobiPanel){ var instance = $('.panel-move').data('lobiPanel'); console.log(ev.preventDefault); console.log(ev.stopPropagation); console.log(instance); return; });
I'm trying to get the instance and prevent to remove the DOM content from page before close, but this doesn't work :(
It's possible to get the content before closing to load the same content after?
$('.panel-move').on('beforeClose.lobiPanel', function(ev, lobiPanel){ var instance = $('.panel-move').data('lobiPanel'); console.log(ev.preventDefault); console.log(ev.stopPropagation); console.log(instance); return; });
I'm trying to get the instance and prevent to remove the DOM content from page before close, but this doesn't work :(