MCPcopy
hub / github.com/vuejs/core / nextFrame

Function nextFrame

packages/runtime-dom/src/components/Transition.ts:340–344  ·  view source on GitHub ↗
(cb: () => void)

Source from the content-addressed store, hash-verified

338}
339
340function nextFrame(cb: () => void) {
341 requestAnimationFrame(() => {
342 requestAnimationFrame(cb)
343 })
344}
345
346let endId = 0
347

Callers 2

makeEnterHookFunction · 0.70
onLeaveFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected