import wixData from 'wix-data'; $w.onReady(function () { $w("#datasetID").onReady(() => { wixData.query("CollectionID") .find() .then((result) => { const shuffledArray = shuffleArray(result.items); $w('#repeaterID').data = shuffledArray; }) .catch((err) => { let errorMsg = err; }); }); }); function getRandomIndex(min, max) { return Math.round(Math.random() * (max - min) + min); } function shuffleArray(dataArray) { for (let i = dataArray.length - 1; i > 0; i--) { let index = getRandomIndex(0, i); const temp = dataArray[i]; dataArray[i] = dataArray[index]; dataArray[index] = temp; } return dataArray; }
top of page

MOTION TO CHILL

MOTION TO CHANGE COLOUR NAMES
TO REFLECT PLANETARY BOUNDARY TIPPING POINTS

bottom of page