Home / Function/ default.destroyed() — vue Function Reference

default.destroyed() — vue Function Reference

Architecture documentation for the default.destroyed() function in keep-alive.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  f46587af_5d59_368a_e2c7_499504bf9bf0["default.destroyed()"]
  df063946_7158_b993_ea79_ae2622374b9a["keep-alive.ts"]
  f46587af_5d59_368a_e2c7_499504bf9bf0 -->|defined in| df063946_7158_b993_ea79_ae2622374b9a
  ce484f8a_c2e9_ec32_bd66_39d32f593a06["pruneCacheEntry()"]
  f46587af_5d59_368a_e2c7_499504bf9bf0 -->|calls| ce484f8a_c2e9_ec32_bd66_39d32f593a06
  style f46587af_5d59_368a_e2c7_499504bf9bf0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/core/components/keep-alive.ts lines 110–114

  destroyed() {
    for (const key in this.cache) {
      pruneCacheEntry(this.cache, key, this.keys)
    }
  },

Domain

Subdomains

Frequently Asked Questions

What does default.destroyed() do?
default.destroyed() is a function in the vue codebase, defined in src/core/components/keep-alive.ts.
Where is default.destroyed() defined?
default.destroyed() is defined in src/core/components/keep-alive.ts at line 110.
What does default.destroyed() call?
default.destroyed() calls 1 function(s): pruneCacheEntry.

Analyze Your Own Codebase

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

Try Supermodel Free