
BLOG
Vueでキー入力、貼り付けのイベントを検知する
Vue でテキストエリアのキー入力やペーストイベントを検出するには、textarea タグに @keydown と @paste を追加し、キー入力やペースト時に呼び出す関数を設定します。To detect key input and paste events in a text area in Vue, add @keydown and @paste to the textarea tag and set the function you want to call when a key input or paste is performed.
by janitor