Home / Function/ genData() — vue Function Reference

genData() — vue Function Reference

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

Entity Profile

Relationship Graph

Source Code

src/platforms/web/compiler/modules/class.ts lines 29–38

function genData(el: ASTElement): string {
  let data = ''
  if (el.staticClass) {
    data += `staticClass:${el.staticClass},`
  }
  if (el.classBinding) {
    data += `class:${el.classBinding},`
  }
  return data
}

Domain

Subdomains

Analyze Your Own Codebase

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

Try Supermodel Free