Home / Function/ updateComponentListeners() — vue Function Reference

updateComponentListeners() — vue Function Reference

Architecture documentation for the updateComponentListeners() function in events.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  75c9607e_83b3_26b6_6c2b_4aa1e57faef2["updateComponentListeners()"]
  297f9aee_5413_08c8_7b36_7fb9aade39ef["initEvents()"]
  297f9aee_5413_08c8_7b36_7fb9aade39ef -->|calls| 75c9607e_83b3_26b6_6c2b_4aa1e57faef2
  8aaa5e5e_c1b8_2835_8e40_bd7e697ed38d["updateChildComponent()"]
  8aaa5e5e_c1b8_2835_8e40_bd7e697ed38d -->|calls| 75c9607e_83b3_26b6_6c2b_4aa1e57faef2
  style 75c9607e_83b3_26b6_6c2b_4aa1e57faef2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/instance/events.ts lines 42–57

export function updateComponentListeners(
  vm: Component,
  listeners: Object,
  oldListeners?: Object | null
) {
  target = vm
  updateListeners(
    listeners,
    oldListeners || {},
    add,
    remove,
    createOnceHandler,
    vm
  )
  target = undefined
}

Domain

Subdomains

Frequently Asked Questions

What does updateComponentListeners() do?
updateComponentListeners() is a function in the vue codebase.
What calls updateComponentListeners()?
updateComponentListeners() is called by 2 function(s): initEvents, updateChildComponent.

Analyze Your Own Codebase

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

Try Supermodel Free