Jingles Almendinger
Posts: 0
Joined: Mon Sep 16, 2013 8:47 pm

Setting Custom Component (navbar item) as active

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).

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Setting Custom Component (navbar item) as active

Hi, you have to set Active Navbar item on each screen.

Jingles Almendinger
Posts: 0
Joined: Mon Sep 16, 2013 8:47 pm

Setting Custom Component (navbar item) as active

But I can't set it as active if it's a custom component on multiple pages, can i? IF so, how?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Setting Custom Component (navbar item) as active

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...

Image

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Setting Custom Component (navbar item) as active

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??

Himanshu
Posts: 0
Joined: Mon Mar 31, 2014 9:46 am

Setting Custom Component (navbar item) as active

please suggest the answer without using "Template".

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Setting Custom Component (navbar item) as active

Hi Himanshu,

You can use JavaScript or Export Properties:
Image Image

Return to “Issues”