use of com.gargoylesoftware.htmlunit.javascript.host.html.DataTransfer in project htmlunit by HtmlUnit.
the class HTMLCollectionFrames method getClipboardData.
/**
* Returns the JavaScript property {@code clipboardData}.
* @return the {@link DataTransfer}
*/
@JsxGetter(IE)
public DataTransfer getClipboardData() {
final DataTransfer dataTransfer = new DataTransfer();
dataTransfer.setParentScope(this);
dataTransfer.setPrototype(getPrototype(dataTransfer.getClass()));
return dataTransfer;
}
Aggregations