Home / Function/ initSlotsProxy() — vue Function Reference

initSlotsProxy() — vue Function Reference

Architecture documentation for the initSlotsProxy() function in apiSetup.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  c78c0d63_44e7_97ac_6bcb_8876594cebbf["initSlotsProxy()"]
  4ad51b1f_61ec_31ba_dbb7_667d6a0a8c85["apiSetup.ts"]
  c78c0d63_44e7_97ac_6bcb_8876594cebbf -->|defined in| 4ad51b1f_61ec_31ba_dbb7_667d6a0a8c85
  90e994f6_eac7_d182_0e97_d5a116aca32a["createSetupContext()"]
  90e994f6_eac7_d182_0e97_d5a116aca32a -->|calls| c78c0d63_44e7_97ac_6bcb_8876594cebbf
  65c4396f_b21d_ea55_d924_24fcba9f9b2b["syncSetupSlots()"]
  c78c0d63_44e7_97ac_6bcb_8876594cebbf -->|calls| 65c4396f_b21d_ea55_d924_24fcba9f9b2b
  style c78c0d63_44e7_97ac_6bcb_8876594cebbf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/v3/apiSetup.ts lines 165–170

function initSlotsProxy(vm: Component) {
  if (!vm._slotsProxy) {
    syncSetupSlots((vm._slotsProxy = {}), vm.$scopedSlots)
  }
  return vm._slotsProxy
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does initSlotsProxy() do?
initSlotsProxy() is a function in the vue codebase, defined in src/v3/apiSetup.ts.
Where is initSlotsProxy() defined?
initSlotsProxy() is defined in src/v3/apiSetup.ts at line 165.
What does initSlotsProxy() call?
initSlotsProxy() calls 1 function(s): syncSetupSlots.
What calls initSlotsProxy()?
initSlotsProxy() is called by 1 function(s): createSetupContext.

Analyze Your Own Codebase

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

Try Supermodel Free