DISPLAYING ELEMENTS IN MOBILE ONLY - VELO BY WIX
- eggwebtut
- Mar 12, 2021
- 1 min read
$w.onReady(function () {
// Write your JavaScript here
// To select an element by ID use: $w("#elementID")
// Click "Preview" to run your code
});
import wixWindow from 'wix-window';
$w.onReady(function () {
if(wixWindow.formFactor === "Mobile"){
$w("#your_element's_ID").show();
}
});
Comments