UNPKG

@vtbag/utensil-drawer

Version:

Pull out just what you need to craft seamless transitions. The Utensil Drawer holds reusable functions to help you build websites with view transitions. It is a bit sparse right now, but like the one in your kitchen, it is bound to fill up over time.

16 lines (15 loc) 716 B
export interface ExtendedViewTransition extends ViewTransition { chained: boolean; update: UpdateCallback; skipped: boolean; updateResolve: (value: void | PromiseLike<void>) => void; updateReject: (value: void | PromiseLike<void>) => void; readyResolve: (value: void | PromiseLike<void>) => void; readyReject: (value: void | PromiseLike<void>) => void; finishResolve: (value: void | PromiseLike<void>) => void; finishReject: (value: void | PromiseLike<void>) => void; } export declare function mayStartViewTransition(param?: StartViewTransitionParameter | UpdateCallback, extensions?: { chaining: boolean; speedUpWhenChained: number; }, scope?: Document): ViewTransition;