MCPcopy Create free account
hub / github.com/angular/components / flushTransition

Function flushTransition

src/material/core/ripple/ripple.spec.ts:40–42  ·  view source on GitHub ↗

Flushes the transition of the ripple element inside of the ripple target.

()

Source from the content-addressed store, hash-verified

38
39 /** Flushes the transition of the ripple element inside of the ripple target. */
40 function flushTransition() {
41 dispatchFakeEvent(rippleTarget.querySelector('.mat-ripple-element')!, 'transitionend');
42 }
43
44 beforeEach(() => {
45 platform = TestBed.inject(Platform);

Callers 1

ripple.spec.tsFile · 0.85

Calls 1

dispatchFakeEventFunction · 0.85

Tested by

no test coverage detected