Interface TransitionHooks<HostElement>

interface TransitionHooks<HostElement> {
    mode:
        | undefined
        | "default"
        | "in-out"
        | "out-in";
    persisted: boolean;
    afterLeave?(): void;
    beforeEnter(el: HostElement): void;
    clone(vnode: VNode<RendererNode, RendererElement, {
        [key: string]: any;
    }>): TransitionHooks<HostElement>;
    delayLeave?(el: HostElement, earlyRemove: (() => void), delayedLeave: (() => void)): void;
    delayedLeave?(): void;
    enter(el: HostElement): void;
    leave(el: HostElement, remove: (() => void)): void;
}

Type Parameters

Properties

mode:
    | undefined
    | "default"
    | "in-out"
    | "out-in"
persisted: boolean

Methods

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • el: HostElement
    • earlyRemove: (() => void)
        • (): void
        • Returns void

    • delayedLeave: (() => void)
        • (): void
        • Returns void

    Returns void

  • Returns void

  • Parameters

    Returns void

  • Parameters

    • el: HostElement
    • remove: (() => void)
        • (): void
        • Returns void

    Returns void