Home / Function/ isSelectWithModel() — vue Function Reference

isSelectWithModel() — vue Function Reference

Architecture documentation for the isSelectWithModel() function in optimizer.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  d3dcb7ea_94d5_901b_46d8_3443b83058e5["isSelectWithModel()"]
  e11f0355_39e8_a964_c79d_5c6c371637c8["isUnOptimizableTree()"]
  e11f0355_39e8_a964_c79d_5c6c371637c8 -->|calls| d3dcb7ea_94d5_901b_46d8_3443b83058e5
  style d3dcb7ea_94d5_901b_46d8_3443b83058e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/server-renderer/src/optimizing-compiler/optimizer.ts lines 133–140

function isSelectWithModel(node: ASTNode): boolean {
  return (
    node.type === 1 &&
    node.tag === 'select' &&
    node.directives != null &&
    node.directives.some(d => d.name === 'model')
  )
}

Subdomains

Frequently Asked Questions

What does isSelectWithModel() do?
isSelectWithModel() is a function in the vue codebase.
What calls isSelectWithModel()?
isSelectWithModel() is called by 1 function(s): isUnOptimizableTree.

Analyze Your Own Codebase

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

Try Supermodel Free