UNPKG

v-shared-element

Version:

Declarative shared-element transitions between pages for Vue.js and Nuxt.js

17 lines (16 loc) 594 B
import { Route as Route3 } from 'vue-router-3/types/router'; import { RouteLocationNormalized as Route4 } from 'vue-router-4'; type Route = Route3 & Route4; export interface ISharedElementOptions { easing: string; duration: string; endDuration: string | false; compositeOnly: boolean; zIndex: number; includeChildren: boolean; ignoreTransparency: boolean | string[]; restrictToViewport: boolean; restrictToRoutes: false | string[] | ((to: Route, from: Route, id: string) => boolean); } export declare const DEFAULT_OPTIONS: ISharedElementOptions; export {};