ons.platform
-
Utility methods to detect current platform.
Click here to see the original article
-
suggestion add methods: isApp() and isWeb()
For example, i need set buttons in site, but hide them in app. Resolution is bad way
-
@Евгений-Гедройц Isn’t
isWebView()
enough for that?
-
@Fran-Diox thank you for explanation. I not quite understood description isWebView(). This is obvious now :)