Title: How to: events in panel Post by: danny36 on July 25, 2017, 07:07:21 AM I'm sorry but I don't find in documentation how to use events in panel module. What is the right sintax?
I use easyui-navpanel in a mobile project and I need to trigger when user change panels. Title: Re: How to: events in panel Post by: stworthy on July 25, 2017, 05:32:15 PM The navpanel component extends from panel component, you can bind the 'onOpen' or 'onClose' events on it.
Title: Re: How to: events in panel Post by: danny36 on July 26, 2017, 12:34:20 AM I try with this but every time I click to change panels the event it's fired and show console.log message instead only when I switch to the #panel-classifica.
$('#panel-classifica').panel({ onOpen: function(title,index){ console.log('pannello caricato'); return false; // prevent from closing } }); |