You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note: The v prefix in import { directive as vClickAway } from 'vue3-click-away' is key as per the Vue documentation
In <script setup>, any camelCase variable that starts with the v prefix can be used as a custom directive. In the example above, vFocus can be used in the template as v-focus
The text was updated successfully, but these errors were encountered:
Can I "prevent" in one way or another that the event is being fired ?
PS.: using "event.stopPropagation" in the onClickAway() function is not working...
Documentation clarification:
If using Vue 3 with TypeScript and <script setup> this will work for you
note: The v prefix in
import { directive as vClickAway } from 'vue3-click-away'
is key as per the Vue documentationThe text was updated successfully, but these errors were encountered: