HideWhen
Hide Icon Per Platform

In this example we're using the hideWhen directive to decide whether to hide an icon based on the platform.

<ion-icon name="logo-apple" hideWhen="android,windows"></ion-icon> <ion-icon name="logo-android" hideWhen="ios,windows"></ion-icon> <ion-icon name="logo-windows" hideWhen="ios,android"></ion-icon>