@samfung wrote:
I don't know why
showWhen="ios"
andshowWhen="android"
is always evaluated to false although there isclass="ios"
in the html body.HTML
<ion-buttons start> <button (click)="dismissLoginModal()"> <span primary showWhen="ios">Cancel</span> <ion-icon name="close" showWhen="android"></ion-icon> </button> </ion-buttons>
DOM
<ion-buttons start> <button class="bar-button bar-button-default bar-button-icon-right"> <span primary showwhen="ios" hidden>Cancel</span> <ion-icon name="close" role="img" showwhen="android" class="ion-ios-close" aria-label="close" hidden></ion-icon> </button> </ion-buttons>
Posts: 2
Participants: 1