rippleStop

Commons
stable

Set the internal stop-propagation flag on a ripple event so that nested elements do not also spawn a ripple for the same interaction.

API

Signature

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

e
required
TRippleEvent
The event to mark as stopped. Any subsequent rippleShow call that reads this event will bail out immediately.

API

Return value

The value returned by this util.

No return value. Works via a side-effect on the event object.

Usage

Examples

Ready-to-paste usage snippets.

Prevent ripple bubbling from a child element

typescript