You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
621 B
32 lines
621 B
import { buildProps, definePropType, mutable } from '../../../utils/props.mjs';
|
|
|
|
const imageViewerProps = buildProps({
|
|
urlList: {
|
|
type: definePropType(Array),
|
|
default: () => mutable([])
|
|
},
|
|
zIndex: {
|
|
type: Number,
|
|
default: 2e3
|
|
},
|
|
initialIndex: {
|
|
type: Number,
|
|
default: 0
|
|
},
|
|
infinite: {
|
|
type: Boolean,
|
|
default: true
|
|
},
|
|
hideOnClickModal: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
});
|
|
const imageViewerEmits = {
|
|
close: () => true,
|
|
switch: (index) => typeof index === "number"
|
|
};
|
|
|
|
export { imageViewerEmits, imageViewerProps };
|
|
//# sourceMappingURL=image-viewer.mjs.map
|