Home / Function/ genData() — vue Function Reference

genData() — vue Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  07d87c5d_6a47_3b18_8a73_d60eab772603["genData()"]
  9dbe442c_e2c5_ea25_270d_00a343abbe1a["style.ts"]
  07d87c5d_6a47_3b18_8a73_d60eab772603 -->|defined in| 9dbe442c_e2c5_ea25_270d_00a343abbe1a
  style 07d87c5d_6a47_3b18_8a73_d60eab772603 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/compiler/modules/style.ts lines 32–41

function genData(el: ASTElement): string {
  let data = ''
  if (el.staticStyle) {
    data += `staticStyle:${el.staticStyle},`
  }
  if (el.styleBinding) {
    data += `style:(${el.styleBinding}),`
  }
  return data
}

Domain

Subdomains

Frequently Asked Questions

What does genData() do?
genData() is a function in the vue codebase, defined in src/platforms/web/compiler/modules/style.ts.
Where is genData() defined?
genData() is defined in src/platforms/web/compiler/modules/style.ts at line 32.

Analyze Your Own Codebase

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

Try Supermodel Free