Card.Info.CloseButton events#
| Type | Description | |
|---|---|---|
onClick | function | (optional) Called when the close control is activated. The application controls dismissal and focus after removal. |
Card.Info.MediaButton events#
| Type | Description | |
|---|---|---|
onClick | (event: React.MouseEvent<HTMLButtonElement>) => void | boolean | (optional) Required with playing: handle playback in your player and update playing from its playback events. With videoRef, runs before toggling video playback; return false or preventDefault() to cancel the toggle. Video playback resumes from the current position. |
Card.Action events#
| Type | Description | |
|---|---|---|
onClick | function | (optional) Click handler. When used without href/to, renders a button-like wrapper with keyboard support (Enter/Space). |