Home / Function/ normalizeStyleData() — vue Function Reference

normalizeStyleData() — vue Function Reference

Architecture documentation for the normalizeStyleData() function in style.ts from the vue codebase.

Function typescript VueCore Observer calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  7406321f_668e_5784_fdeb_69c10ea06183["normalizeStyleData()"]
  9baf2011_2aa2_1c40_464d_e026d0ec7477["style.ts"]
  7406321f_668e_5784_fdeb_69c10ea06183 -->|defined in| 9baf2011_2aa2_1c40_464d_e026d0ec7477
  ddf0c442_2585_6f54_dd9b_9da6ad921f74["getStyle()"]
  ddf0c442_2585_6f54_dd9b_9da6ad921f74 -->|calls| 7406321f_668e_5784_fdeb_69c10ea06183
  74670896_451e_0a30_e57e_5194cf000a4a["normalizeStyleBinding()"]
  7406321f_668e_5784_fdeb_69c10ea06183 -->|calls| 74670896_451e_0a30_e57e_5194cf000a4a
  style 7406321f_668e_5784_fdeb_69c10ea06183 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/util/style.ts lines 19–24

function normalizeStyleData(data: VNodeData): Record<string, any> {
  const style = normalizeStyleBinding(data.style)
  // static style is pre-processed into an object during compilation
  // and is always a fresh object, so it's safe to merge into it
  return data.staticStyle ? extend(data.staticStyle, style) : style
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does normalizeStyleData() do?
normalizeStyleData() is a function in the vue codebase, defined in src/platforms/web/util/style.ts.
Where is normalizeStyleData() defined?
normalizeStyleData() is defined in src/platforms/web/util/style.ts at line 19.
What does normalizeStyleData() call?
normalizeStyleData() calls 1 function(s): normalizeStyleBinding.
What calls normalizeStyleData()?
normalizeStyleData() is called by 1 function(s): getStyle.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free