Skip to content

Wormhole.hasTarget() not a function with Vue3 #401

Open
@cbloss

Description

Hey! I may be a complete blonde but I'm not seeing in the new Vue3 docs that Wormhole lost the method hasTarget. Has there been a change there? Here's what I got

 if (Wormhole.hasTarget('blockSettings')) {
    Wormhole.close({to: 'blockSettings'}, true)
  }

Ends up with:
portal_vue__WEBPACK_IMPORTED_MODULE_0__.Wormhole.hasTarget is not a function

Thanks!!

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