Page 1 of 1

Is there a way to open a popup from a navbar-custom-component?

Posted: Mon Mar 30, 2015 12:48 pm
by Benjamin Schmid-Lanz

Is there a way to open a popup from a navbar-custom-component?


Is there a way to open a popup from a navbar-custom-component?

Posted: Mon Mar 30, 2015 1:29 pm
by Alena Prykhodko

Hi,

Sure.
Add Open pop-up action on Navbar item click event https://devcenter.appery.io/documenta....


Is there a way to open a popup from a navbar-custom-component?

Posted: Mon Mar 30, 2015 2:06 pm
by Benjamin Schmid-Lanz

But in the custom component editor I can't drag and drop the pop-up on the screen


Is there a way to open a popup from a navbar-custom-component?

Posted: Tue Mar 31, 2015 11:39 am
by Benjamin Schmid-Lanz

Any ideas why this isn ́t working?


Is there a way to open a popup from a navbar-custom-component?

Posted: Wed Apr 01, 2015 6:19 am
by Egor Kotov6832188

Hello Benjamin,

1) add pop-up to desired page
2) place next js code for click event of your navbar item
Apperyio("pop_up_component_name").popup("open");

Note: this code will trigger exception if user tries to click on navbar item on page without popup component with name "pop_up_component_name"