Interface BaseTransitionProps<HostElement>

interface BaseTransitionProps<HostElement> {
    appear?: boolean;
    mode?: "default" | "in-out" | "out-in";
    onAfterAppear?: Hook<((el: HostElement) => void)>;
    onAfterEnter?: Hook<((el: HostElement) => void)>;
    onAfterLeave?: Hook<((el: HostElement) => void)>;
    onAppear?: Hook<((el: HostElement, done: (() => void)) => void)>;
    onAppearCancelled?: Hook<((el: HostElement) => void)>;
    onBeforeAppear?: Hook<((el: HostElement) => void)>;
    onBeforeEnter?: Hook<((el: HostElement) => void)>;
    onBeforeLeave?: Hook<((el: HostElement) => void)>;
    onEnter?: Hook<((el: HostElement, done: (() => void)) => void)>;
    onEnterCancelled?: Hook<((el: HostElement) => void)>;
    onLeave?: Hook<((el: HostElement, done: (() => void)) => void)>;
    onLeaveCancelled?: Hook<((el: HostElement) => void)>;
    persisted?: boolean;
}

Type Parameters

Hierarchy (view full)

Properties

appear?: boolean
mode?: "default" | "in-out" | "out-in"
onAfterAppear?: Hook<((el: HostElement) => void)>
onAfterEnter?: Hook<((el: HostElement) => void)>
onAfterLeave?: Hook<((el: HostElement) => void)>
onAppear?: Hook<((el: HostElement, done: (() => void)) => void)>
onAppearCancelled?: Hook<((el: HostElement) => void)>
onBeforeAppear?: Hook<((el: HostElement) => void)>
onBeforeEnter?: Hook<((el: HostElement) => void)>
onBeforeLeave?: Hook<((el: HostElement) => void)>
onEnter?: Hook<((el: HostElement, done: (() => void)) => void)>
onEnterCancelled?: Hook<((el: HostElement) => void)>
onLeave?: Hook<((el: HostElement, done: (() => void)) => void)>
onLeaveCancelled?: Hook<((el: HostElement) => void)>
persisted?: boolean