normalizeDirectives() — vue Function Reference
Architecture documentation for the normalizeDirectives() function in options.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 5686bad4_36ee_1774_e271_49728cecc365["normalizeDirectives()"] 5c734a8f_efba_819c_28fc_f56bfd6b701f["options.ts"] 5686bad4_36ee_1774_e271_49728cecc365 -->|defined in| 5c734a8f_efba_819c_28fc_f56bfd6b701f 74488b2b_ad6c_b2c0_5bac_8703e8f1b25e["mergeOptions()"] 74488b2b_ad6c_b2c0_5bac_8703e8f1b25e -->|calls| 5686bad4_36ee_1774_e271_49728cecc365 style 5686bad4_36ee_1774_e271_49728cecc365 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/util/options.ts lines 385–395
function normalizeDirectives(options: Record<string, any>) {
const dirs = options.directives
if (dirs) {
for (const key in dirs) {
const def = dirs[key]
if (isFunction(def)) {
dirs[key] = { bind: def, update: def }
}
}
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does normalizeDirectives() do?
normalizeDirectives() is a function in the vue codebase, defined in src/core/util/options.ts.
Where is normalizeDirectives() defined?
normalizeDirectives() is defined in src/core/util/options.ts at line 385.
What calls normalizeDirectives()?
normalizeDirectives() is called by 1 function(s): mergeOptions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free