normalizeEvents() — vue Function Reference
Architecture documentation for the normalizeEvents() function in events.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD eff93118_e780_b458_59bc_725956995098["normalizeEvents()"] 4456d059_c4de_8f7e_28c3_2ab1924010cb["updateDOMListeners()"] 4456d059_c4de_8f7e_28c3_2ab1924010cb -->|calls| eff93118_e780_b458_59bc_725956995098 5b855538_2046_796e_16f9_7327a61399cb["isDef()"] eff93118_e780_b458_59bc_725956995098 -->|calls| 5b855538_2046_796e_16f9_7327a61399cb style eff93118_e780_b458_59bc_725956995098 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime/modules/events.ts lines 16–31
function normalizeEvents(on) {
/* istanbul ignore if */
if (isDef(on[RANGE_TOKEN])) {
// IE input[type=range] only supports `change` event
const event = isIE ? 'change' : 'input'
on[event] = [].concat(on[RANGE_TOKEN], on[event] || [])
delete on[RANGE_TOKEN]
}
// This was originally intended to fix #4521 but no longer necessary
// after 2.5. Keeping it for backwards compat with generated code from < 2.4
/* istanbul ignore if */
if (isDef(on[CHECKBOX_RADIO_TOKEN])) {
on.change = [].concat(on[CHECKBOX_RADIO_TOKEN], on.change || [])
delete on[CHECKBOX_RADIO_TOKEN]
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does normalizeEvents() do?
normalizeEvents() is a function in the vue codebase.
What does normalizeEvents() call?
normalizeEvents() calls 1 function(s): isDef.
What calls normalizeEvents()?
normalizeEvents() is called by 1 function(s): updateDOMListeners.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free