I have added a Panel in my template, because it won't let me add a panel to my page created from a template.
The problem is that I cannot access the "open" or close events of the panel. What am I missing.
Thank you in advance.
I have added a Panel in my template, because it won't let me add a panel to my page created from a template.
The problem is that I cannot access the "open" or close events of the panel. What am I missing.
Thank you in advance.
Yes, I figured that. The problem then is that all the screens that use that template will have the same exact code being executed for the open and close events. Correct?
Is there another way to access the two events?
Hello,
From appery.io builder you can create events for panel only in template that contains the panel.
But you can create your own event for every child pages youself manually:
code$(document).off("panelopen", '[id="pagePanel_panel_2"]').on( "panelopen", function( event, ui ) {console.log("open");} ); /code