Home / Function/ nextFrame() — vue Function Reference

nextFrame() — vue Function Reference

Architecture documentation for the nextFrame() function in transition-util.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  b0a327db_6085_7ac7_5bee_9e40e828fda2["nextFrame()"]
  09de2133_5913_40ae_d30e_b3f99608f41b["transition-util.ts"]
  b0a327db_6085_7ac7_5bee_9e40e828fda2 -->|defined in| 09de2133_5913_40ae_d30e_b3f99608f41b
  e6c6983a_cd24_311d_4f6e_bad73543a2aa["raf()"]
  b0a327db_6085_7ac7_5bee_9e40e828fda2 -->|calls| e6c6983a_cd24_311d_4f6e_bad73543a2aa
  style b0a327db_6085_7ac7_5bee_9e40e828fda2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/transition-util.ts lines 69–74

export function nextFrame(fn: Function) {
  raf(() => {
    // @ts-expect-error
    raf(fn)
  })
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does nextFrame() do?
nextFrame() is a function in the vue codebase, defined in src/platforms/web/runtime/transition-util.ts.
Where is nextFrame() defined?
nextFrame() is defined in src/platforms/web/runtime/transition-util.ts at line 69.
What does nextFrame() call?
nextFrame() calls 1 function(s): raf.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free