-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Closed as not planned
Copy link
Labels
direction: approvedThe direction of feature/change is approved by the team. May require some small changes.The direction of feature/change is approved by the team. May require some small changes.enhancementNew feature or requestNew feature or requestvue: upstream
Description
Clear and concise description of the problem
Currently, I can't find a way to declare useMousePressed in the top level <script setup> of a component, which doesn't have the target element available straightaway (initially is null before the component mounts). Could this be handled internally, please?
Suggested solution
Watch target internally and apply listeners based on its presence.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
direction: approvedThe direction of feature/change is approved by the team. May require some small changes.The direction of feature/change is approved by the team. May require some small changes.enhancementNew feature or requestNew feature or requestvue: upstream