mozilla

Revision 285903 of Clipboard

  • Revision slug: Jetpack/UI/Clipboard
  • Revision title: Jetpack/UI/Clipboard
  • Revision id: 285903
  • Created:
  • Creator: fiveinchpixie
  • Is current revision? No
  • Comment 54 words added, 248 words removed
Tags: 

Revision Content

Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.

The namespace associated with this API is jetpack.clipboard which provides both read and write access to the clipboard. The API is fairly straightforward; examples can be found here.

This API currently lives in the future and must be imported for use.

jetpack.future.import("clipboard");

Methods

{{ JP_Method() }}

Revision Source

<p>Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.</p>
<p>The namespace associated with this API is jetpack.clipboard which provides both read and write access to the clipboard. The API is fairly straightforward; examples can be found here.</p>
<p>This API currently lives in the <a class=" link-https" href="https://wiki.mozilla.org/Labs/Jetpack/JEP/13">future</a> and must be imported for use.</p>
<p><code>jetpack.future.import("clipboard");</code></p>
<h2>Methods</h2>
<p>{{ JP_Method() }}</p>
Revert to this revision