[ASK] Disable OnsenUI 2 Automatic styling
I dont know if it’s possible.
Can anyone help me to disable automatic styling in OnsenUI 2.
I wanna make my app always use the IOS style, no matter what OS the user use.
Do i have to customize the JS/CSS or maybe there’s some config to make this possible?
Thanks for your response,
And sorry for my english.
@krizztianz Just place this at the top of your JS script block:
Thanks @munsterlander it works!!!
Hello, I want to use the code for android, then as I do to disable the ios style?
@Pablo-Moralish Either you disable it normally and then set
modifier="material"attribute manually for every element, or simply set Android platform with
ons.platform.select('android'). Call that after including