Planning Publish

This commit is contained in:
2024-02-04 12:45:34 +08:00
parent 017fa25388
commit 1d2dcc7855
3 changed files with 77 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
export function openModel(selector: string) {
document.querySelector<HTMLDialogElement>(selector)?.showModal()
}
export function closeModel(selector: string) {
document.querySelector<HTMLDialogElement>(selector)?.close()
}