Home / File/ built-in-components.d.ts — vue Source File

built-in-components.d.ts — vue Source File

Architecture documentation for built-in-components.d.ts, a typescript file in the vue codebase. 1 imports, 0 dependents.

File typescript VueCore Observer 1 imports 1 functions 3 classes

Entity Profile

Dependency Diagram

graph LR
  ffc18d63_f306_7249_c54a_ab73bdb8e418["built-in-components.d.ts"]
  9cf05bd7_5b61_ee72_59ac_663c0447e370["./v3-define-component"]
  ffc18d63_f306_7249_c54a_ab73bdb8e418 --> 9cf05bd7_5b61_ee72_59ac_663c0447e370
  style ffc18d63_f306_7249_c54a_ab73bdb8e418 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { DefineComponent } from './v3-define-component'

type Hook<T = () => void> = T | T[]

export interface TransitionProps {
  name?: string
  appear?: boolean
  css?: boolean
  mode?: 'in-out' | 'out-in' | 'default'
  type?: 'transition' | 'animation'

  duration?:
    | number
    | string
    | {
        enter: number
        leave: number
      }

  // classes
  enterClass?: string
  enterActiveClass?: string
  enterToClass?: string
  appearClass?: string
  appearActiveClass?: string
  appearToClass?: string
  leaveClass?: string
  leaveActiveClass?: string
  leaveToClass?: string

  // event hooks
  onBeforeEnter?: Hook<(el: Element) => void>
  onEnter?: Hook<(el: Element, done: () => void) => void>
  onAfterEnter?: Hook<(el: Element) => void>
  onEnterCancelled?: Hook<(el: Element) => void>
  onBeforeLeave?: Hook<(el: Element) => void>
  onLeave?: Hook<(el: Element, done: () => void) => void>
  onAfterLeave?: Hook<(el: Element) => void>
  onLeaveCancelled?: Hook<(el: Element) => void>
  onBeforeAppear?: Hook<(el: Element) => void>
  onAppear?: Hook<(el: Element, done: () => void) => void>
  onAfterAppear?: Hook<(el: Element) => void>
  onAppearCancelled?: Hook<(el: Element) => void>
}

export declare const Transition: DefineComponent<TransitionProps>

export type TransitionGroupProps = Omit<TransitionProps, 'mode'> & {
  tag?: string
  moveClass?: string
}

export declare const TransitionGroup: DefineComponent<TransitionGroupProps>

type MatchPattern = string | RegExp | (string | RegExp)[]

export interface KeepAliveProps {
  include?: MatchPattern
  exclude?: MatchPattern
  max?: number | string
}

export declare const KeepAlive: DefineComponent<KeepAliveProps>

Domain

Subdomains

Functions

Dependencies

  • ./v3-define-component

Frequently Asked Questions

What does built-in-components.d.ts do?
built-in-components.d.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, Observer subdomain.
What functions are defined in built-in-components.d.ts?
built-in-components.d.ts defines 1 function(s): el.
What does built-in-components.d.ts depend on?
built-in-components.d.ts imports 1 module(s): ./v3-define-component.
Where is built-in-components.d.ts in the architecture?
built-in-components.d.ts is located at types/built-in-components.d.ts (domain: VueCore, subdomain: Observer, directory: types).

Analyze Your Own Codebase

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

Try Supermodel Free