initEvents() — vue Function Reference
Architecture documentation for the initEvents() function in events.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 297f9aee_5413_08c8_7b36_7fb9aade39ef["initEvents()"] 340c5746_ff29_c74c_9da5_50db2db76e5f["initMixin()"] 340c5746_ff29_c74c_9da5_50db2db76e5f -->|calls| 297f9aee_5413_08c8_7b36_7fb9aade39ef 75c9607e_83b3_26b6_6c2b_4aa1e57faef2["updateComponentListeners()"] 297f9aee_5413_08c8_7b36_7fb9aade39ef -->|calls| 75c9607e_83b3_26b6_6c2b_4aa1e57faef2 style 297f9aee_5413_08c8_7b36_7fb9aade39ef fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/events.ts lines 12–20
export function initEvents(vm: Component) {
vm._events = Object.create(null)
vm._hasHookEvent = false
// init parent attached events
const listeners = vm.$options._parentListeners
if (listeners) {
updateComponentListeners(vm, listeners)
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does initEvents() do?
initEvents() is a function in the vue codebase.
What does initEvents() call?
initEvents() calls 1 function(s): updateComponentListeners.
What calls initEvents()?
initEvents() is called by 1 function(s): initMixin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free