keyboardRippleHide

Commons
stable

Clears the internal keyboard-ripple flag and immediately hides the ripple effect in response to a keyboard event. Counterpart to keyboardRippleShow.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

e
required
KeyboardEvent
The originating keyboard event (typically keyup) used to locate the target element for ripple teardown.

API

Return value

The value returned by this util.

No return value. Resets the keyboard-ripple flag and hides the ripple.

Usage

Examples

Ready-to-paste usage snippets.

Attach keyboard ripple to a button

typescript