Home / Function/ observeArray() — vue Function Reference

observeArray() — vue Function Reference

Architecture documentation for the observeArray() function in index.ts from the vue codebase.

Function typescript VueCore Observer calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  61775709_acae_0dfb_ce5f_30156271b1e7["observeArray()"]
  3fc566ae_243e_2f0a_95d9_c612fe08e096["Observer"]
  61775709_acae_0dfb_ce5f_30156271b1e7 -->|defined in| 3fc566ae_243e_2f0a_95d9_c612fe08e096
  e9e3ee0b_266d_b038_5ecd_44bb28d26857["constructor()"]
  e9e3ee0b_266d_b038_5ecd_44bb28d26857 -->|calls| 61775709_acae_0dfb_ce5f_30156271b1e7
  b757abbc_61ef_2454_445e_6bb830e92333["observe()"]
  61775709_acae_0dfb_ce5f_30156271b1e7 -->|calls| b757abbc_61ef_2454_445e_6bb830e92333
  style 61775709_acae_0dfb_ce5f_30156271b1e7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/observer/index.ts lines 90–94

  observeArray(value: any[]) {
    for (let i = 0, l = value.length; i < l; i++) {
      observe(value[i], false, this.mock)
    }
  }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does observeArray() do?
observeArray() is a function in the vue codebase, defined in src/core/observer/index.ts.
Where is observeArray() defined?
observeArray() is defined in src/core/observer/index.ts at line 90.
What does observeArray() call?
observeArray() calls 1 function(s): observe.
What calls observeArray()?
observeArray() is called by 1 function(s): constructor.

Analyze Your Own Codebase

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

Try Supermodel Free