UNPKG

vuepress-theme-hope

Version:

A light vuepress theme with tons of features

12 lines 521 B
import { Transition, h } from "vue"; import { scrollPromise } from "@theme-hope/utils/index"; import "@vuepress/helper/transition/fade-in-up.css"; export const FadeInUpTransition = (_props, { slots }) => h(Transition, { name: "fade-in-up", mode: "out-in", // Handle scrollBehavior with transition onBeforeEnter: scrollPromise.resolve, onBeforeLeave: scrollPromise.pending, }, () => slots.default()); FadeInUpTransition.displayName = "FadeInUpTransition"; //# sourceMappingURL=FadeInUpTransition.js.map