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
  7005a2f1_ebbd_b993_9d8d_1b6b9068c533["updateComponentListeners()"]
  8b2d23d5_bb44_a0c2_ba6c_9d6dbd4ea994["initEvents()"]
  8b2d23d5_bb44_a0c2_ba6c_9d6dbd4ea994 -->|calls| 7005a2f1_ebbd_b993_9d8d_1b6b9068c533
  75058e43_64c9_ef74_0dc8_3767f108116b["updateChildComponent()"]
  75058e43_64c9_ef74_0dc8_3767f108116b -->|calls| 7005a2f1_ebbd_b993_9d8d_1b6b9068c533
  style 7005a2f1_ebbd_b993_9d8d_1b6b9068c533 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