Hey Folks,
I’m having trouble to register event handlers for the Wix Pro Gallery that is linked to a Collection. None of the events fire regardles whether I register the handlers in the onReady() function or outside.
Any thoughts?
$w.onReady(function () {
$w('#PortfolioGallery').onItemClicked( (event) => {
console.log('item clicked');
});
});
export function PortfolioGallery_itemClicked(event) {
//Add your code for this event here:
console.log('item clicked');
}