UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

35 lines (34 loc) 607 B
import "../../../utils/config.mjs"; import "vue"; import { isString } from "../../../utils/typescript.mjs"; import "@vueuse/core"; const anchorProps = { container: { type: [String, HTMLElement, Window], default: window }, direction: { type: String, default: "vertical" }, lineWeight: Number, showLine: Boolean, offset: { type: Number, default: 0 }, size: String, color: String, duration: { type: Number, default: 500 }, anchorAnimation: Boolean }; const anchorEmits = { change: (href) => isString(href) }; export { anchorEmits, anchorProps };