VueJackBox is a plugin to display beautiful dialogs in vue. GitHub.
Dialog state
This affects the styling on all dialogs in this demo.
this.$dialog({{ code }})
this.$confirm({ title: 'Confirm', message: 'This is a confirm', state: '{{ state }}', });
this.$alert({ title: 'Alert', message: 'You have been alerted!', state: '{{ state }}', });
this.$prompt({ title: 'Prompt', message: 'This is an prompt', state: '{{ state }}', ok: { text: 'Confirm', action: (val) => { this.val = val; }), }, value: this.val });
this.$notification({ title: 'Notification', message: 'This is an notification', state: '{{ state }}', });