interface TransitionHooks

Properties

mode

Signature
mode: BaseTransitionProps['mode'];

persisted

Signature
persisted: boolean;

Methods

afterLeave()

Signature
afterLeave?(): void;

beforeEnter(el)

Parameters
Name Type Description

el

HostElement

Returns

void

Signature
beforeEnter(el: HostElement): void;

clone(vnode)

Parameters
Name Type Description

vnode

VNode

Returns

TransitionHooks<HostElement>

Signature
clone(vnode: VNode): TransitionHooks<HostElement>;

delayedLeave()

Signature
delayedLeave?(): void;

delayLeave(el, earlyRemove, delayedLeave)

Parameters
Name Type Description

el

HostElement

earlyRemove

() => void

delayedLeave

() => void

Returns

void

Signature
delayLeave?(el: HostElement, earlyRemove: () => void, delayedLeave: () => void): void;

enter(el)

Parameters
Name Type Description

el

HostElement

Returns

void

Signature
enter(el: HostElement): void;

leave(el, remove)

Parameters
Name Type Description

el

HostElement

remove

() => void

Returns

void

Signature
leave(el: HostElement, remove: () => void): void;