This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

DataTransfer: DataTransfer() 생성자

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2021년 4월.

DataTransfer 생성자는 새로운 DataTransfer 객체 인스턴스를 생성합니다.

구문

js
new DataTransfer()

매개변수

없음.

명세서

Specification
HTML
# dom-datatransfer-dev

브라우저 호환성