UNPKG

@varlet/ui

Version:

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

28 lines (27 loc) 519 B
import { defineListenerProp } from "../utils/components.mjs"; const props = { anchor: Number, anchors: Array, contentDraggable: { type: Boolean, default: true }, duration: { type: [Number, String], default: 300 }, elevation: { type: [Boolean, Number, String], default: true }, teleport: { type: [String, Object, Boolean], default: "body" }, safeArea: Boolean, "onUpdate:anchor": defineListenerProp(), onAnchorChange: defineListenerProp() }; export { props };