$w.onReady(function () {
// Character Data
const characters = [
{
name: "Raven Sinclair",
backstory: "Raven Sinclair is a determined and ambitious woman who runs her own modeling business..."
},
{
name: "Detective Brandon Carter",
backstory: "Detective Brandon Carter is a seasoned investigator specializing in cold cases..."
},
{
name: "Naomi Harris",
backstory: "Naomi Harris is a young and aspiring model with big dreams..."
},
// Add more characters as needed
];
// Assign the character data to the repeater
$w("#repeater1").data = characters;
// Update the repeater items with the character data
$w("#repeater1").onItemReady(($item, itemData) => {
$item("#nameText").text = itemData.name;
$item("#backstoryText").text = itemData.backstory;
});
});