make confetti configurable

This commit is contained in:
Pete Matsyburka
2024-01-26 17:43:52 +02:00
parent 1d7c84302e
commit 6c35ff6d1c
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ window.customElements.define('submission-form', class extends HTMLElement {
goToLast: this.dataset.goToLast === 'true',
isDemo: this.dataset.isDemo === 'true',
attribution: this.dataset.attribution !== 'false',
withConfetti: true,
withConfetti: this.dataset.withConfetti !== 'false',
withTypedSignature: this.dataset.withTypedSignature !== 'false',
values: reactive(JSON.parse(this.dataset.values)),
completedButton: JSON.parse(this.dataset.completedButton),