DOM

settings_applicationsEventTarget  >   settings_applicationsNode  >   settings_applicationsDocument

DOM

Editing
  • bug_report

Eventpaste

insert_drive_fileClipboardEventinterfaceopen_in_new
ClipboardEvent interface는 Document에서 paste 이벤트 타입으로 구현된다.

Document의 paste는 ClipboardEvent interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.

기본 개요

클립보드의 항목이 불여넣기 되어질 때 발생한다.

구문

형식
document.addEventListener("paste", function() { })
형식
element.addEventListener("paste", function() { });

명세

typepaste
bubblesyes
cancelableyes
targetElement
handleryes

버전 명세

Clipboard API and events
#clipboard-event-paste
HTML Standard API
#handler-onpaste
Clipboard API and events
#clipboard-event-paste

지원 웹브라우저