You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
513 B
JavaScript

import {defineStore} from "pinia";
export const useModalStore = defineStore("ModalStore", {
2 years ago
state: () => ({"type": "", "aspect":"", "isOpen":false, "bucket":"", "gallery":"", "vimeo_trackid":""}),
actions: {
2 years ago
setModalProps(type, aspect, isOpen, bucket, gallery, vimeo_trackid) {
this.type = type
this.aspect = aspect
this.isOpen = isOpen
this.bucket = bucket
2 years ago
this.gallery = gallery
this.vimeo_trackid = vimeo_trackid
}
}
})