Skip to content

Instantly share code, notes, and snippets.

@considine
Created October 9, 2018 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save considine/aee75b112f6ac82292d689ced4b4743e to your computer and use it in GitHub Desktop.
Save considine/aee75b112f6ac82292d689ced4b4743e to your computer and use it in GitHub Desktop.
<ion-header>
<ion-toolbar>
<ion-buttons slot="start">
<ion-menu-button></ion-menu-button>
</ion-buttons>
<ion-title>
List
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<ion-item [routerLink]="['/home', item.id]" *ngFor="let item of categories$ | async">
<ion-icon name="search" slot="start"></ion-icon>
{{item.name}}
<div class="item-note" slot="end">
{{item.note}}
</div>
</ion-item>
</ion-list>
<!--
<div *ngIf="selectedItem" padding>
You navigated here from <b>{{selectedItem.title }}</b>
</div>
-->
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment