MCPcopy Create free account
hub / github.com/Effect-TS/effect / drop

Function drop

packages/ui/native/src/kit/Animation.ts:1561–1566  ·  view source on GitHub ↗
(d: Driver, t: Target)

Source from the content-addressed store, hash-verified

1559}
1560
1561const drop = (d: Driver, t: Target) => {
1562 const m = native(d)
1563 if (t.anim !== 0) m.stopAnimation(t.anim)
1564 t.anim = 0
1565 m.dropAnimatedNode(t.tag)
1566}

Callers 3

removeFunction · 0.90
flushFunction · 0.70
rebuildFunction · 0.70

Calls 1

nativeFunction · 0.85

Tested by

no test coverage detected