15
Help us understand the problem. What are the problem?

More than 1 year has passed since last update.

posted at

updated at

Organization

[Vue.js] Vueのイベントリスナの種類(v-on:??)

Event listnerの種類

스크린샷 2019-06-05 오후 9.45.36.png

Vueの公式サイトを見たら上記のように書いてありました。
そうしたらJavascriptのonから始まるEventListnerを@またはv-onで可能と思ってテストしました。
やぱりwできました。

Vue Event Listnerの一覧

@abort 
@auxclick 
@beforecopy 
@beforecut 
@beforepaste 
@blur 
@cancel 
@canplay 
@canplaythrough 
@change 
@click 
@close 
@contextmenu 
@copy 
@cuechange 
@cut 
@dblclick 
@drag 
@dragend 
@dragenter 
@dragleave 
@dragover 
@dragstart 
@drop 
@durationchange 
@emptied 
@ended 
@error 
@focus 
@focusin
@focusout
@fullscreenchange 
@fullscreenerror 
@gotpointercapture 
@input 
@invalid 
@keydown 
@keypress   <ーーーこれ動かない。  
@keyup 
@load 
@loadeddata 
@loadedmetadata 
@loadstart 
@lostpointercapture 
@mousedown 
@mouseenter 
@mouseleave 
@mousemove 
@mouseout 
@mouseover 
@mouseup 
@mousewheel 
@paste 
@pause 
@play 
@playing 
@pointercancel 
@pointerdown     
@pointerenter 
@pointerleave 
@pointermove 
@pointerout 
@pointerover 
@pointerup 
@progress 
@ratechange 
@reset 
@resize 
@scroll 
@search 
@seeked 
@seeking 
@select 
@selectionchange 
@selectstart 
@stalled 
@submit 
@suspend 
@timeupdate 
@toggle 
@volumechange 
@waiting 
@webkitfullscreenchange 
@webkitfullscreenerror 
@wheel 
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
15
Help us understand the problem. What are the problem?