Closed ghost closed 8 years ago
I copy all these $('.lobipanel').on('init.lobiPanel', function(ev, lobiPanel){ window.console.log("init event called"); }); $('.lobipanel').on('beforeUnpin.lobiPanel', function(ev, lobiPanel){ window.console.log("Before unpin", lobiPanel); }); $('.lobipanel').on('onSmallSize.lobiPanel', function(ev, lobiPanel){ window.console.log("On small size", ev, lobiPanel); }); $('.lobipanel').on('loaded.lobiPanel', function(ev, lobiPanel, result, status, xhr){ window.console.log("Loaded", ev, lobiPanel, result, status, xhr); });
$('.lobipanel').on('init.lobiPanel', function(ev, lobiPanel){ window.console.log("init event called"); });
$('.lobipanel').on('beforeUnpin.lobiPanel', function(ev, lobiPanel){ window.console.log("Before unpin", lobiPanel); });
$('.lobipanel').on('onSmallSize.lobiPanel', function(ev, lobiPanel){ window.console.log("On small size", ev, lobiPanel); });
$('.lobipanel').on('loaded.lobiPanel', function(ev, lobiPanel, result, status, xhr){ window.console.log("Loaded", ev, lobiPanel, result, status, xhr); });
but i don't see anything console logs
Make sure that you call this code after lobipanel is initialized. I have tested and it works.
Oh sorry, I chose wrong selector.
I copy all these
$('.lobipanel').on('init.lobiPanel', function(ev, lobiPanel){ window.console.log("init event called"); });
$('.lobipanel').on('beforeUnpin.lobiPanel', function(ev, lobiPanel){ window.console.log("Before unpin", lobiPanel); });
$('.lobipanel').on('onSmallSize.lobiPanel', function(ev, lobiPanel){ window.console.log("On small size", ev, lobiPanel); });
$('.lobipanel').on('loaded.lobiPanel', function(ev, lobiPanel, result, status, xhr){ window.console.log("Loaded", ev, lobiPanel, result, status, xhr); });
but i don't see anything console logs