DOM

settings_applicationsEventTarget  >   settings_applicationsNode  >   settings_applicationsElement  >   settings_applicationsHTMLElement

DOM

  • bug_report

Eventdrop

insert_drive_fileDragEventinterfaceopen_in_new
DragEvent interface는 HTMLElement에서 drop 이벤트 타입으로 구현된다.

HTMLElement의 drop는 DragEvent interface의 이벤트 타입이고 이벤트 리스너에서 사용된다.

기본 개요

요소 또는 텍스트 선택이 유효한 드롭 대상에 놓일 때 발생한다.

구문

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

명세

typedrop
bubblesyes
cancelableyes
targetDocument, Element
handlerondrop

버전 명세

HTML Standard API
#ix-handler-ondrop

지원 웹브라우저