Search...
itemIndex
Gets the gallery item's index.
Type:
numberRead Only
Was this helpful?
Get the event's item index
Copy Code
1$w("#myGallery").onEvent( (event) => {2 let imageSrc = event.itemIndex; // 33} );
Gets the gallery item's index.
Type:
Was this helpful?
1$w("#myGallery").onEvent( (event) => {2 let imageSrc = event.itemIndex; // 33} );