thecodeholic / lobipanel

jQuery plugin for bootstrap panels. It extends panels with several common and useful functions.
MIT License
168 stars 75 forks source link

Not working Events #55

Open dydzm opened 6 years ago

dydzm commented 6 years ago
     $('#popup-view-' + panel_id).lobiPanel({
        reload: false,
        unpin: false,
        editTitle: false,
        state: 'unpinned',
        initialIndex: 1,
        stateful: true,
        draggable: false,
        expand: false
    });

     $('#popup-view-' + panel_id).on('loaded.lobiPanel', function (ev, lobiPanel) {
        console.log("loaded event called");
    }).on('init.lobiPanel', '.lobipanel', function(ev, lobiPanel){
        console.log("init event called");
    });

Why does not it work trigger event?