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