Home / Function/ updateSelect() — vue Function Reference

updateSelect() — vue Function Reference

Architecture documentation for the updateSelect() function in model-select.spec.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  3796872d_f032_c0c8_c734_22b50ea870c4["updateSelect()"]
  3190623c_ea6e_c76a_4872_db5430830118["getValue()"]
  3796872d_f032_c0c8_c734_22b50ea870c4 -->|calls| 3190623c_ea6e_c76a_4872_db5430830118
  style 3796872d_f032_c0c8_c734_22b50ea870c4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

test/unit/features/directives/model-select.spec.ts lines 20–29

function updateSelect(el, value) {
  const options = el.options
  let i = options.length
  while (i--) {
    if (looseEqual(getValue(options[i]), value)) {
      options[i].selected = true
      break
    }
  }
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does updateSelect() do?
updateSelect() is a function in the vue codebase.
What does updateSelect() call?
updateSelect() calls 1 function(s): getValue.

Analyze Your Own Codebase

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

Try Supermodel Free