Class gui.Clipboard
Defined in: Clipboard.js.
Constructor Attributes | Constructor Name and Description |
---|---|
gui.Clipboard(mimeDataExporter)
Clipboard wrapper to attempt some semblance of cross-browser clipboard support
|
Method Attributes | Method Name and Description |
---|---|
setDataFromRange(e, range)
Copy the contents of the supplied range onto the clipboard (if available).
|
Class Detail
gui.Clipboard(mimeDataExporter)
Clipboard wrapper to attempt some semblance of cross-browser clipboard support
- Parameters:
- {!gui.MimeDataExporter} mimeDataExporter
Method Detail
{boolean}
setDataFromRange(e, range)
Copy the contents of the supplied range onto the clipboard (if available).
- Parameters:
- {!Event} e
- {!Range} range
- Selection range to copy into the clipboard
- Returns:
- {boolean} Returns true if the data was successfully copied to the clipboard