Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There needs to be a list of available directives #2759

Closed
Ewan88 opened this issue Mar 18, 2024 · 3 comments
Closed

There needs to be a list of available directives #2759

Ewan88 opened this issue Mar 18, 2024 · 3 comments

Comments

@Ewan88
Copy link

Ewan88 commented Mar 18, 2024

I am trying to find a list of possible directives.

I'm aware of @mouseover and @mouseout but I want to know what other directives are possible.

So far I haven't been able to find a list of these because it is either difficult to find or does not exist.

@Ewan88
Copy link
Author

Ewan88 commented Mar 18, 2024

@focus and @blur are two more I found.

Again, these need to be in a list somewhere.

I only know of them by asking Copilot.

The events page does not have the information I'm looking for:
https://vuejs.org/guide/essentials/event-handling.html#event-names

@brc-dd
Copy link
Member

brc-dd commented Mar 18, 2024

Use MDN or something. There are like 100 of them, and are not specific to Vue. Almost every name you can pass to addEventListener will work.

abort
animationend
animationiteration
animationstart
auxclick
beforeinput
blur
canplay
canplaythrough
change
click
compositionend
compositionstart
compositionupdate
contextmenu
copy
cut
dblclick
drag
dragend
dragenter
dragexit
dragleave
dragover
dragstart
drop
durationchange
emptied
encrypted
ended
error
focus
focusin
focusout
input
invalid
keydown
keypress
keyup
load
loadeddata
loadedmetadata
loadstart
mousedown
mouseenter
mouseleave
mousemove
mouseout
mouseover
mouseup
paste
pause
play
playing
pointercancel
pointerdown
pointerenter
pointerleave
pointermove
pointerout
pointerover
pointerup
progress
ratechange
reset
scroll
scrollend
seeked
seeking
select
stalled
submit
suspend
timeupdate
touchcancel
touchend
touchmove
touchstart
transitionend
transitionstart
volumechange
waiting
wheel

@Ewan88
Copy link
Author

Ewan88 commented Mar 18, 2024

@Ewan88 Ewan88 closed this as completed Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants