Skip to content

Card.Info.CloseButton events#

TypeDescription
onClickfunction(optional) Called when the close control is activated. The application controls dismissal and focus after removal.

Card.Info.MediaButton events#

TypeDescription
onClick(event: React.MouseEvent<HTMLButtonElement>) => void | boolean(optional) Runs before toggling playback. Return false or preventDefault() to cancel the toggle. Playback resumes from the current position.

Card.Action events#

TypeDescription
onClickfunction(optional) Click handler. When used without href/to, renders a button-like wrapper with keyboard support (Enter/Space).
Suggest an edit