Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
ons-if
-
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
<ons-if>
element can be used to hide the<ons-fab>
element.Click here to see the original article