Home / Function/ getValue() — vue Function Reference

getValue() — vue Function Reference

Architecture documentation for the getValue() function in model.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  7cda4abc_a496_c8c4_f97e_c3c64b85ee4b["getValue()"]
  69a7e351_3007_a43c_618a_93588eb8db15["model.ts"]
  7cda4abc_a496_c8c4_f97e_c3c64b85ee4b -->|defined in| 69a7e351_3007_a43c_618a_93588eb8db15
  6babc861_7d73_aee3_8278_860641d36fc2["actuallySetSelected()"]
  6babc861_7d73_aee3_8278_860641d36fc2 -->|calls| 7cda4abc_a496_c8c4_f97e_c3c64b85ee4b
  style 7cda4abc_a496_c8c4_f97e_c3c64b85ee4b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/platforms/web/runtime/directives/model.ts lines 127–129

function getValue(option) {
  return '_value' in option ? option._value : option.value
}

Domain

Subdomains

Frequently Asked Questions

What does getValue() do?
getValue() is a function in the vue codebase, defined in src/platforms/web/runtime/directives/model.ts.
Where is getValue() defined?
getValue() is defined in src/platforms/web/runtime/directives/model.ts at line 127.
What calls getValue()?
getValue() is called by 1 function(s): actuallySetSelected.

Analyze Your Own Codebase

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

Try Supermodel Free