Page 1 of 1
Setting Custom Component (navbar item) as active
Posted: Thu Oct 03, 2013 3:38 pm
by Jingles Almendinger
Hello, is it possible to have a custom component navbar select the active item? For instance, tab one is news and tab two is image gallery. If you're on tab one, it would be highlighted and if you click the gallery tab then that would be highlighted (active).
Setting Custom Component (navbar item) as active
Posted: Thu Oct 03, 2013 4:38 pm
by Maryna Brodina
Hi, you have to set Active Navbar item on each screen.
Setting Custom Component (navbar item) as active
Posted: Mon Oct 07, 2013 6:05 pm
by Jingles Almendinger
But I can't set it as active if it's a custom component on multiple pages, can i? IF so, how?
Setting Custom Component (navbar item) as active
Posted: Mon Oct 07, 2013 11:34 pm
by Igor
Hi,
You should create template screen with active Navbar component. After that you can use this screen as template for all other screens.
This doc should help http://docs.appery.io/documentation/w...
Setting Custom Component (navbar item) as active
Posted: Wed Jul 16, 2014 12:46 pm
by Himanshu
I am facing same problem, as :
I have create a navBar and set it as a custom component. and now using this custom component to all of my pages, Can you please tell me how I can "active" navBar item on particular page??
Setting Custom Component (navbar item) as active
Posted: Wed Jul 16, 2014 12:46 pm
by Himanshu
please suggest the answer without using "Template".
Setting Custom Component (navbar item) as active
Posted: Wed Jul 16, 2014 4:33 pm
by Kateryna Grynko
Hi Himanshu,
You can use JavaScript or Export Properties: