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

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

Analyze Your Own Codebase

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

Try Supermodel Free