Conditionally display content depending on the platform / browser. Valid values are "ios", "android", "blackberry", "chrome", "safari", "firefox", and "opera".
<div ons-if-platform="android">
...
</div>
Name | Type Default Value |
Description |
---|---|---|
ons-if-platform | String | Either "opera", "firefox", "safari", "chrome", "ie", "android", "blackberry", "ios" or "windows". Optional |