I am simulating something like a shopping cart using ionic 2
. Basically you write the name of the item and the value and it will create a list with checkbox as in the image below.
ButIwantedthe only appeared when selecting one of the checkboxes and did not stay static on the screen as it is now. How can I do this?
grid calling CheckBox:
<ion-grid>
<ion-row *ngFor="let item of produto">
<ion-item>
<ion-label (click)="clicou(item.desc)">
{{ item.desc }} {{ item.valor }}
</ion-label>
<ion-checkbox checked="false"></ion-checkbox>
</ion-item>
</ion-row>
</ion-grid>
part that arrow or button in code:
<button ion-button block (click)="remove()" color="danger" style="transition: none 0s ease 0s;">
<span class="button-inner">
<ion-icon name="close"></ion-icon>
Remover Selecionados
</span>
<div class="button-effect"></div>
</button>