mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add export button
This commit is contained in:
1 parent
cbc6f4497a
commit
bc3b1b477e
12 files changed
+256
-8
No files matched your search
@@ -5,8 +5,12 @@ export default actionable(class extends HTMLElement {
|
||||
document.body.classList.add('overflow-hidden')
|
||||
|
||||
document.addEventListener('keyup', this.onEscKey)
|
||||
document.addEventListener('turbo:submit-end', this.onSubmit)
|
||||
|
||||
document.addEventListener('turbo:before-cache', this.close)
|
||||
|
||||
if (this.dataset.closeAfterSubmit !== 'false') {
|
||||
document.addEventListener('turbo:submit-end', this.onSubmit)
|
||||
}
|
||||
}
|
||||
|
||||
disconnectedCallback () {
|
||||
|
||||
Reference in new issue
Block a user