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) 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#

TypeDescription
onClickfunction(optional) Click handler. When used without href/to, renders a button-like wrapper with keyboard support (Enter/Space).
Suggest an edit
Eufemia · /web/components/card/events/ · Version [LOCAL BUILD]