Adds an event handler that runs when an item in a gallery is clicked.
handler(event: GalleryItemClickedEvent): void The name of the function or the function expression to run when a gallery item is clicked.
handler(event: GalleryItemClickedEvent): void