Topic: Function name and selector for Popout Panel

Daniel pro asked 8 years ago


As for the Select Box there is this jQuery function + selector: jQuery('select').material_select(); which I can use to add javascript callbacks when some events are triggered on my front end, I need the same for this Popout Panel: Popout PREMIUM COMPONENT http://mdbootstrap.com/components/panels/ Add surrounding .popout class div to achieve fancy popout effect: I tried few different but somehow I need to know the exact function() and ('selector') This is my final goal:
jQuery( document ).on( 'js_event_wpv_pagination_completed', function( event, data ) {
//here goes the same magic as for select Boxes, means, something like jQuery('select').material_select();
//but as said, for the Popout Panel accordion.
//I tried: 
//jQuery('panel-heading active').parentSelector();
//jQuery('panel-heading active').selector();
//both did not work
//what is the functions and selector name?
});

Daniel pro answered 8 years ago


Unfortunately not, I think BTW this problems are all related: http://mdbootstrap.com/forums/topic/re-initialize-a-select-field/#post-6438 Thank you

Michal Szymanski staff answered 8 years ago


This is initialization function for accordion, I hope it'll help.
 $(document).ready(function () {
            $('.collapsible').collapsible();
        });


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: Yes
  • Provided link: No