This file (490B) exceeds the allowed full mode (48 kb) size. The editor full height is disabled, only scrolling is allowed.
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height mode.
import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useOverlayStore = defineStore('overlay', () => {
const visible = ref(false)
const message = ref('')
function show(options?: { message?: string }) {
visible.value = true
message.value = options?.message || ''
}
function hide() {
visible.value = false
message.value = ''
}
return {
visible,
message,
show,
hide,
}
})
| / | Focus search |
| ? | Show this help |
| Esc | Unfocus input |