Created
June 21, 2017 20:16
-
-
Save maltzsama/5ea26d687acbc438e4bf2e6c861e7678 to your computer and use it in GitHub Desktop.
company
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Generated template for the CompanyPage page. | |
See http://ionicframework.com/docs/components/#navigation for more info on | |
Ionic pages and navigation. | |
--> | |
<ion-header> | |
<ion-navbar> | |
<button ion-button menuToggle> | |
<ion-icon name="menu"></ion-icon> | |
</button> | |
<ion-title>Empresas</ion-title> | |
<ion-buttons end> | |
<button (click)="clear()"><ion-icon name="remove"></ion-icon></button> | |
</ion-buttons> | |
</ion-navbar> | |
</ion-header> | |
<ion-content class="company"> | |
<ion-list> | |
<ion-item-sliding *ngFor="let company of companyList; let idx = index;"> | |
<ion-item (click)="itemTapped($event, idx)"> | |
<h2>{{ company.name }}</h2> | |
<h3>{{ company.phone }}</h3> | |
</ion-item> | |
<ion-item-options> | |
<button danger (click)="edit(idx)"> | |
<ion-icon name="trash"></ion-icon> | |
Editar | |
</button> | |
</ion-item-options> | |
</ion-item-sliding> | |
</ion-list> | |
<ion-fab bottom right> | |
<button ion-fab (click)="add()" color="danger"></button> | |
</ion-fab> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment