Conditionally display content depending on the platform, device orientation or both. Sometimes it is useful to conditionally hide or show certain components based on platform. When running on iOS the <v-ons-if> component can be used to hide the <v-ons-fab> component.


See also

Name Type Description
platform string Space-separated platform names. Possible values are "ios", "android", "windows" and "other". Optional. Works only during initialization.
orientation string Either "portrait" or "landscape". Optional.

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.