Skip to content

Instantly share code, notes, and snippets.

@raphaelluiz128
Last active April 6, 2018 17:45
Show Gist options
  • Save raphaelluiz128/afa51ea10528be1dbd33d1de2b54add6 to your computer and use it in GitHub Desktop.
Save raphaelluiz128/afa51ea10528be1dbd33d1de2b54add6 to your computer and use it in GitHub Desktop.
tela home json externo
<ion-header>
<ion-navbar>
<button ion-button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Home</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<h3>Ionic Menu Starter</h3>
<button ion-button block (click)="AtualizarMedicoes()">atualizar medicao</button>
<button ion-button block (click)="GetAllMedicoes()">Ver medicao</button>
<ion-list>
<button ion-item *ngFor="let med of this.database.arrayMedicoes">
{{med.DATA}},{{med.HORA}},{{med.NIVEL}}
</button>
</ion-list>
</ion-content>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment