We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de658da commit 5b7bcdcCopy full SHA for 5b7bcdc
src/plugin.ts
@@ -52,6 +52,8 @@ export const dialogInjectionFallback: IDialog = {
52
export const plugin: Plugin = {
53
install: (app, options) => {
54
const defaultCloseDelay = options?.closeDelay ?? 500
55
+ // TODO make docs for this
56
+ const defaultProps = options?.props ?? {}
57
58
const $dialog: IDialog = {
59
dialogs,
@@ -63,6 +65,7 @@ export const plugin: Plugin = {
63
65
64
66
props: reactive({
67
modelValue: true,
68
+ ...defaultProps,
69
...props,
70
}),
71
})
0 commit comments