I have a repeater for the projects (connected to CMS) on my Wix site. All projects are shown on the project page, it is set to show 6 on the projects section on the homepage, but I want the mobvile site to be limited to 3. What code do I need to do this?
This is the code I have already:
import wixWindowFrontend from 'wix-window-frontend'
if(wixWindowFrontend.formFactor === "Mobile"){
$w('#listRepeater')
}
I just need to know the language to use to limit the items to three? My repeater ID is called ‘listRepeater’