You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2020. It is now read-only.
<ion-segment small [(ngModel)]="isActive" (ionChange)="loadActive($event)">
<ion-segment-button small value=true>
<ion-label>Active</ion-label>
</ion-segment-button>
<ion-segment-button small value=false>
<ion-label>Inactive</ion-label>
</ion-segment-button>
</ion-segment>
and simple code to show or hide just to test.
{{isActive}}
<div *ngIf='!isActive'>
hello not active
</div>
<div *ngIf='isActive'>
hello yes
</div>