Just use the example in the wix-window.formFactor API. Something like this:
let formFactor = wixWindow.formFactor;
if(formFactor === "Desktop") {
$w("#myMobileOnlyElement").hide();
}
Good luck,
Yisrael
Just use the example in the wix-window.formFactor API. Something like this:
let formFactor = wixWindow.formFactor;
if(formFactor === "Desktop") {
$w("#myMobileOnlyElement").hide();
}
Good luck,
Yisrael