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
  ff3554db_3bdf_0942_6761_acf6c609b8bb["getValue()"]
  61aa7720_5a1a_15d6_8b6c_2a96081e6ff4["actuallySetSelected()"]
  61aa7720_5a1a_15d6_8b6c_2a96081e6ff4 -->|calls| ff3554db_3bdf_0942_6761_acf6c609b8bb
  style ff3554db_3bdf_0942_6761_acf6c609b8bb 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.
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