Home / Function/ extractTransitionData() — vue Function Reference

extractTransitionData() — vue Function Reference

Architecture documentation for the extractTransitionData() function in transition.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  b540b163_1630_f661_69e2_d6cd1c278184["extractTransitionData()"]
  b0a7d15f_5bac_dc6f_49fa_0554a1565637["transition.ts"]
  b540b163_1630_f661_69e2_d6cd1c278184 -->|defined in| b0a7d15f_5bac_dc6f_49fa_0554a1565637
  66553ff0_65bc_d871_35c1_f0b228325a77["default.render()"]
  66553ff0_65bc_d871_35c1_f0b228325a77 -->|calls| b540b163_1630_f661_69e2_d6cd1c278184
  1320adb5_5107_07f8_1ce0_f5863182564d["default.render()"]
  1320adb5_5107_07f8_1ce0_f5863182564d -->|calls| b540b163_1630_f661_69e2_d6cd1c278184
  style b540b163_1630_f661_69e2_d6cd1c278184 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/components/transition.ts lines 43–57

export function extractTransitionData(comp: Component): Record<string, any> {
  const data = {}
  const options = comp.$options
  // props
  for (const key in options.propsData) {
    data[key] = comp[key]
  }
  // events.
  // extract listeners and pass them directly to the transition methods
  const listeners = options._parentListeners
  for (const key in listeners) {
    data[camelize(key)] = listeners[key]
  }
  return data
}

Domain

Subdomains

Frequently Asked Questions

What does extractTransitionData() do?
extractTransitionData() is a function in the vue codebase, defined in src/platforms/web/runtime/components/transition.ts.
Where is extractTransitionData() defined?
extractTransitionData() is defined in src/platforms/web/runtime/components/transition.ts at line 43.
What calls extractTransitionData()?
extractTransitionData() is called by 2 function(s): default.render, default.render.

Analyze Your Own Codebase

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

Try Supermodel Free