normalizeDirectives() — vue Function Reference
Architecture documentation for the normalizeDirectives() function in options.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 7428e31d_c2bc_2519_3c6b_668e513fa3a7["normalizeDirectives()"] 395cc6b0_6f88_f1b1_f5dd_8cdf5c229777["options.ts"] 7428e31d_c2bc_2519_3c6b_668e513fa3a7 -->|defined in| 395cc6b0_6f88_f1b1_f5dd_8cdf5c229777 85601896_bdd4_0d52_f164_49f970cbbef3["mergeOptions()"] 85601896_bdd4_0d52_f164_49f970cbbef3 -->|calls| 7428e31d_c2bc_2519_3c6b_668e513fa3a7 style 7428e31d_c2bc_2519_3c6b_668e513fa3a7 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