Home / Type/ AsyncComponentOptions Type — vue Architecture

AsyncComponentOptions Type — vue Architecture

Architecture documentation for the AsyncComponentOptions type/interface in v3-define-async-component.d.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  db4f81a1_bc63_b8e7_fecb_9bdf7c75ea01["AsyncComponentOptions"]
  c7b18cf6_4fc0_b5d6_eee5_3f41119cb46f["v3-define-async-component.d.ts"]
  db4f81a1_bc63_b8e7_fecb_9bdf7c75ea01 -->|defined in| c7b18cf6_4fc0_b5d6_eee5_3f41119cb46f
  style db4f81a1_bc63_b8e7_fecb_9bdf7c75ea01 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/v3-define-async-component.d.ts lines 9–22

export interface AsyncComponentOptions {
  loader: AsyncComponentLoader
  loadingComponent?: Component
  errorComponent?: Component
  delay?: number
  timeout?: number
  // suspensible?: boolean
  onError?: (
    error: Error,
    retry: () => void,
    fail: () => void,
    attempts: number
  ) => any
}

Frequently Asked Questions

What is the AsyncComponentOptions type?
AsyncComponentOptions is a type/interface in the vue codebase, defined in types/v3-define-async-component.d.ts.
Where is AsyncComponentOptions defined?
AsyncComponentOptions is defined in types/v3-define-async-component.d.ts at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free