diff --git a/demos/show-when/main.html b/demos/show-when/main.html index 3337a99251..7454bd151d 100644 --- a/demos/show-when/main.html +++ b/demos/show-when/main.html @@ -2,8 +2,29 @@ ShowWhen - -

- (showWhen="ios") This text is shown on iOS only. Click the Android tab to hide this text. -

+ +
If the platform is Android, it will show the Android logo. If the platform is iOS, it will show the Apple logo.
+ +
+
+ <div showWhen="android"> +
+
+
+ <div showWhen="ios"> +
+ +