Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Why tab-button id keep changing?

$
0
0

@cikcoh wrote:

Hi,
I want to change style of specific tab-button in the ion-tab tag
So when i inspect the code, i found this with id id="tab-t0-1"

<a class=“tab-button has-icon icon-only disable-hover” href="#" role=“tab” ng-reflect-tab="[object Object]" id=“tab-t0-1” aria-controls=“tabpanel-t0-1” aria-selected=“false”>

Then I managed to change the style using the id. But the problem is every time i navigate back to TabsPage from side menu link or back button, i notice that that id will keep changing,so the style no longer work.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>