UNPKG

@varlet/ui

Version:

A Vue3 component library based on Material Design 2 and 3, supporting mobile and desktop.

31 lines (30 loc) 496 B
import { defineListenerProp } from "../utils/components.mjs"; const props = { direction: { type: String, default: "xy" }, attraction: String, disabled: Boolean, boundary: { type: Object, default: () => ({ top: 0, bottom: 0, left: 0, right: 0 }) }, zIndex: { type: [Number, String], default: 90 }, teleport: { type: [String, Object, Boolean], default: "body" }, onClick: defineListenerProp() }; export { props };