MCPcopy Create free account
hub / github.com/ionic-team/ionic-framework / getRippleEffect

Function getRippleEffect

core/src/utils/tap-click/index.ts:169–177  ·  view source on GitHub ↗
(el: HTMLElement)

Source from the content-addressed store, hash-verified

167};
168
169const getRippleEffect = (el: HTMLElement) => {
170 if (el.shadowRoot) {
171 const ripple = el.shadowRoot.querySelector('ion-ripple-effect');
172 if (ripple) {
173 return ripple;
174 }
175 }
176 return el.querySelector('ion-ripple-effect');
177};
178
179const ACTIVATED = 'ion-activated';
180const ADD_ACTIVATED_DEFERS = 100;

Callers 1

addActivatedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected