I need to use hide and show in ionic v3

How to use hide and show in ionic v3, I don’t want to use *ngIf

Check this.

<ion-item [hidden]="show==false">You can use Hidden</ion-item> //hide item

<ion-item [hidden]="show==true">You can use Hidden</ion-item> //show item

show is a variable boolean.
Declare show in you component.ts of you page…

You want to show hide dom by CSS?

<ion-item [class.hide]="!show">Hidden</ion-item>

css

.hide{
display: none;
}

Thanks for the reply, I will try this

Don’t forget mark this post as SOLVED