Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIClipboardHelper

The nsIClipboardHelper interface is a helper service for common uses of nsIClipboard interface.
Inherits from: nsISupports Last changed in Gecko 1.7

Method overview

void copyString(in AString aString);
void copyStringToClipboard(in AString aString, in long aClipboardID);

Methods

copyString()

This method copies string to (default) clipboard.

void copyString(
  in AString aString
);
Parameters
aString
The string to copy to the clipboard.

copyStringToClipboard()

This method copies string to given clipboard.

void copyStringToClipboard(
  in AString aString,
  in long aClipboardID
);
Parameters
aString
The string to copy to the clipboard.
aClipboardID
The ID of the clipboard to copy to (For example kSelectionClipboard).

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, ziyunfei, trevorh, mattflaschen, akari no ryu, Arehman4
 Last updated by: Sheppy,