greenyouse / bottom-nav

Material Design bottom-nav https://material.io/guidelines/components/bottom-navigation.html
MIT License
25 stars 6 forks source link

Custom CSS after tab selection #1

Closed greenyouse closed 7 years ago

greenyouse commented 7 years ago

Some of the examples in the Material Design spec show that the bottom-toolbar's style can change after selecting a new tab. This could be added by attaching a selected CSS class attribute to bottom-tab elements and bubbling it up to bottom-toolbar via an event.

Expected outcome

Background style of bottom-toolbar can change when a new tab is selected.

Actual outcome

Background style never changes after selection.