Skip to content

using vue3-promise-dialog with <script setup> #8

@meljturner

Description

@meljturner

If using <script setup> it is necessary to expose the returnValue function in the following way. (It took me a while to figure this out; perhaps the README can be updated)

defineExpose({
returnValue: () => { return true },
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions