Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: support role on TabViewItem
  • Loading branch information
NathanWalker committed Dec 12, 2025
commit fcb86805fe241a0b45f4ac9af0bfa19a8da42dd3
43 changes: 43 additions & 0 deletions apps/nativescript-demo-ng/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,46 @@
</MDTabContentItem>
</MDBottomNavigation>
</GridLayout>


<!-- Uncomment to try core TabView features -->
<!-- <TabView
tabTextFontSize="11"
iosTabBarMinimizeBehavior="onScrollDown"
class="bg-black"
>
<GridLayout
*tabItem="{
title: 'Home',
iconSource: 'sys://house.fill',
}"
>
<Label text="Home Content" class="text-center text-white"></Label>
</GridLayout>

<GridLayout
*tabItem="{
title: 'Saved',
iconSource: 'sys://star.fill',
}"
>
<Label text="Second Tab Content" class="text-center text-white"></Label>
</GridLayout>

<GridLayout
*tabItem="{
title: 'Settings',
iconSource: 'sys://gearshape.fill',
}"
>
<Label text="Third Tab Content" class="text-center text-white"></Label>
</GridLayout>
<GridLayout
*tabItem="{
iconSource: 'res://ns-logo',
role: 'search'
}"
>
<Label text="Search Tab" class="text-center text-white"></Label>
</GridLayout>
</TabView> -->
Loading