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
  6c50385e_3899_8a29_64e2_f9413ff2ef02["updateComponentListeners()"]
  8c1ef0ac_57c2_7f8a_7ea7_6924e38bf16b["events.ts"]
  6c50385e_3899_8a29_64e2_f9413ff2ef02 -->|defined in| 8c1ef0ac_57c2_7f8a_7ea7_6924e38bf16b
  b5467571_ff24_3513_9196_5f6c9ff68844["initEvents()"]
  b5467571_ff24_3513_9196_5f6c9ff68844 -->|calls| 6c50385e_3899_8a29_64e2_f9413ff2ef02
  055f956d_f3e0_f8ad_f06a_a9b3085eb888["updateChildComponent()"]
  055f956d_f3e0_f8ad_f06a_a9b3085eb888 -->|calls| 6c50385e_3899_8a29_64e2_f9413ff2ef02
  style 6c50385e_3899_8a29_64e2_f9413ff2ef02 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, defined in src/core/instance/events.ts.
Where is updateComponentListeners() defined?
updateComponentListeners() is defined in src/core/instance/events.ts at line 42.
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