BindingTypes Type — vue Architecture
Architecture documentation for the BindingTypes type/interface in types.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD fd729ff9_ab37_2b0a_f764_780a95167427["BindingTypes"] 1a27e6b3_7515_332e_8d02_d958c72a568c["types.ts"] fd729ff9_ab37_2b0a_f764_780a95167427 -->|defined in| 1a27e6b3_7515_332e_8d02_d958c72a568c style fd729ff9_ab37_2b0a_f764_780a95167427 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/compiler-sfc/src/types.ts lines 23–63
export const enum BindingTypes {
/**
* returned from data()
*/
DATA = 'data',
/**
* declared as a prop
*/
PROPS = 'props',
/**
* a local alias of a `<script setup>` destructured prop.
* the original is stored in __propsAliases of the bindingMetadata object.
*/
PROPS_ALIASED = 'props-aliased',
/**
* a let binding (may or may not be a ref)
*/
SETUP_LET = 'setup-let',
/**
* a const binding that can never be a ref.
* these bindings don't need `unref()` calls when processed in inlined
* template expressions.
*/
SETUP_CONST = 'setup-const',
/**
* a const binding that does not need `unref()`, but may be mutated.
*/
SETUP_REACTIVE_CONST = 'setup-reactive-const',
/**
* a const binding that may be a ref.
*/
SETUP_MAYBE_REF = 'setup-maybe-ref',
/**
* bindings that are guaranteed to be refs
*/
SETUP_REF = 'setup-ref',
/**
* declared by other options, e.g. computed, inject
*/
OPTIONS = 'options'
}
Defined In
Source
Frequently Asked Questions
What is the BindingTypes type?
BindingTypes is a type/interface in the vue codebase, defined in packages/compiler-sfc/src/types.ts.
Where is BindingTypes defined?
BindingTypes is defined in packages/compiler-sfc/src/types.ts at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free