tns-template-drawer-navigation-ng
Version:
Side navigation template
21 lines (20 loc) • 901 B
HTML
<ActionBar>
<!--
Use the NavigationButton as a side-drawer button in Android
because ActionItems are shown on the right side of the ActionBar
-->
<NavigationButton ios:visibility="collapsed" icon="res://menu" (tap)="onDrawerButtonTap()"></NavigationButton>
<!--
Use the ActionItem for IOS with position set to left. Using the
NavigationButton as a side-drawer button in iOS is not possible,
because its function is to always navigate back in the application.
-->
<ActionItem icon="res://menu" android:visibility="collapsed" (tap)="onDrawerButtonTap()"
ios.position="left">
</ActionItem>
<Label text="Search"></Label>
</ActionBar>
<GridLayout class="page__content">
<Label class="page__content-icon fas" text=""></Label>
<Label class="page__content-placeholder" text="<!-- Page content goes here -->"></Label>
</GridLayout>