Open riadcitaku opened 5 years ago
That'd be really helpful.
For now, I'm just getting around with this:
elementor.getPanelView().getCurrentPageView().activateSection('section')._renderChildren()
Unfortunately, this is not working I have tested it on the current version 2.7.1 & 2.6.8.
elementor.getPanelView(...).getCurrentPageView(...).activateSection is not a function
Weird. I've it working fine here, tested on 2.7.1:
Prerequisites
I have created some extra sections to the page settings via the document settings actions on Elementor, in some options I need to reload the preview and I am doing it via the method
reloadPreview()
, right after doing that I am using$e.route
for >2.7.0 and.setPage
for <2.7.0, everything is fine except when the preview is reloaded, I want to redirect the user to the custom section not in the general settings.Describe the solution you'd like
The ideal solution would be.
$e.route('panel/page-settings/settings/header_settings');
or