ClipboardEvent.clipboardData

번역이 완료되지 않았습니다. Please help translate this article from English

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

ClipboardEvent.clipboardData 속성은 DataTransfer 객체를 가지고 있으며, 아래와 같은 목적으로 사용될 수 있습니다:

  • cutcopy 이벤트 핸들러로부터 어떤 데이터가 클립보드에 들어있는지, 일반적으로 setData(format, data) 함수를 호출하여 확인하는 것;
  • paste 이벤트 핸들러로부터 일반적으로 getData(format) 함수를 호출하여 붙여넣어진 데이터를 얻는 것.

더 많은 정보를 확인하려면 cut, copy, and paste 이벤트에 관한 문서를 참고하세요.

Syntax

data = ClipboardEvent.clipboardData

Specifications

Specification Status Comment
Clipboard API and events
The definition of 'ClipboardEvent.clipboardData' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
clipboardData
Experimental
Chrome Full support YesEdge Full support 12Firefox Full support 22IE Full support 5Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 22Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also