Home / File/ bind.ts — vue Source File

bind.ts — vue Source File

Architecture documentation for bind.ts, a typescript file in the vue codebase. 1 imports, 1 dependents.

File typescript VueCore GlobalAPI 1 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  7fb09993_ca1f_8906_bbf9_8616b7f099db["bind.ts"]
  a80b8e3b_d720_9146_3bf6_594d4ee5dd77["compiler"]
  7fb09993_ca1f_8906_bbf9_8616b7f099db --> a80b8e3b_d720_9146_3bf6_594d4ee5dd77
  91a91cec_898a_8a68_28b1_844eb86f59f4["index.ts"]
  91a91cec_898a_8a68_28b1_844eb86f59f4 --> 7fb09993_ca1f_8906_bbf9_8616b7f099db
  style 7fb09993_ca1f_8906_bbf9_8616b7f099db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { ASTDirective, ASTElement } from 'types/compiler'

export default function bind(el: ASTElement, dir: ASTDirective) {
  el.wrapData = (code: string) => {
    return `_b(${code},'${el.tag}',${dir.value},${
      dir.modifiers && dir.modifiers.prop ? 'true' : 'false'
    }${dir.modifiers && dir.modifiers.sync ? ',true' : ''})`
  }
}

Domain

Subdomains

Functions

Dependencies

  • compiler

Frequently Asked Questions

What does bind.ts do?
bind.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, GlobalAPI subdomain.
What functions are defined in bind.ts?
bind.ts defines 1 function(s): bind.
What does bind.ts depend on?
bind.ts imports 1 module(s): compiler.
What files import bind.ts?
bind.ts is imported by 1 file(s): index.ts.
Where is bind.ts in the architecture?
bind.ts is located at src/compiler/directives/bind.ts (domain: VueCore, subdomain: GlobalAPI, directory: src/compiler/directives).

Analyze Your Own Codebase

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

Try Supermodel Free