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
  a5daed53_f150_d784_8710_1630dd78e71e["getValue()"]
  c5669fa5_f589_5187_60a1_228b9a62ccc3["model.ts"]
  a5daed53_f150_d784_8710_1630dd78e71e -->|defined in| c5669fa5_f589_5187_60a1_228b9a62ccc3
  3628d150_096b_39a9_a2c6_52caf4500553["actuallySetSelected()"]
  3628d150_096b_39a9_a2c6_52caf4500553 -->|calls| a5daed53_f150_d784_8710_1630dd78e71e
  style a5daed53_f150_d784_8710_1630dd78e71e 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