This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
An event that triggers when a media item in a specified gallery is created.
The onGalleryItemCreated()
event handler runs when a gallery item has been created. The received GalleryItemCreatedEvent
object contains information about the gallery item that was created.
Note: Backend events don't work when previewing your site.
Information about a newly created gallery item.