-
-
Notifications
You must be signed in to change notification settings - Fork 117
feat(tab): migrate template to use BottomNavigation component #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
96a42a9
to
da54097
Compare
da54097
to
86c3ae6
Compare
bb88098
to
5be380b
Compare
*tabItem="{title: 'Home', iconSource: getIconSource('home')}" | ||
name="homeTab"> | ||
</page-router-outlet> | ||
<TabStripItem title="Home" iconSource="font://" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should promote this syntax when you use font icons. It's highly unusual to want the title to be with a font icon font. This syntax is useful when you want to set an image from the resources as an icon source and even then, it's simply a shorthand syntax. The longer more detailed syntax still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, actually thought the same yesterday while explaining pros&cons of each syntax to the team -- forgot to update the comment with app resource value :)
} | ||
} | ||
|
||
TabStripItem Label { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can do this whole section with the TabStripItem
only since the color
property is inherited.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually left it for consistency as platform-specific css needs to set text-transform
and (as discussed previously) this is not inherited css property due to historic reasons so we need to use TabStripItem Label { ... } selector there.
c2d20eb
to
e6d53ea
Compare
No description provided.