hongluan-business-ui
Version:
Hongluan Business Component Library for Vue 3
58 lines (56 loc) • 1.16 kB
JavaScript
const dockContainerProps = {
beforeClose: {
type: Function
},
customClass: {
type: String,
default: ""
},
animationName: {
type: String,
default: ""
},
openDelay: {
type: Number,
default: 0
},
closeDelay: {
type: Number,
default: 0
},
modelValue: {
type: Boolean,
required: true
},
placement: {
type: String,
default: "bottom"
},
height: {
type: String
},
width: {
type: String
},
itemHeight: {
type: String
},
itemWidth: {
type: String
},
zIndex: {
type: Number
}
};
const dockContainerEmits = {
open: () => true,
opened: () => true,
close: () => true,
closed: () => true,
"item-added": (dockItem, dockItems) => typeof dockItem === "object" && Array.isArray(dockItems),
"item-closed": (dockItem, dockItems) => typeof dockItem === "object" && Array.isArray(dockItems),
"item-restored": (dockItem, dockItems) => typeof dockItem === "object" && Array.isArray(dockItems),
"update:modelValue": (value) => typeof value === "boolean"
};
export { dockContainerEmits, dockContainerProps };
//# sourceMappingURL=dock-container.mjs.map