Hobbies & Pastimes
Repeater: #repeater1
<---- hover here to see the data collection
// For full API documentation, including code examples, visit http://wix.to/94BuAAs
$w.onReady(function () {
$w('#dataset1').onReady(() => {
// Wait for the data set to become ready before populating repeater
$w('#repeater1').forEachItem(($itemScope, itemData, index) => {
// We use the same email link for each repeater item
$itemScope('#htmlWithEmailLink').html =
'<div>\
<p>Contact us for more information\
<b>\
<a href="mailto: stcroppe@gmail.com">\
</a>\
</b>\
</p>\
</div>';
});
});
});
// Helper functions to make page info display in a fun way!
export function dataSetIcon_mouseIn(event, $w) {
//Show data set used
$w('#dataCollection').show();
$w('#hoverPrompt').hide();
}
export function dataSetIcon_mouseOut(event, $w) {
//Hide data collection image
$w('#dataCollection').hide();
$w('#hoverPrompt').show();
}