86
edits
(cleanup, link to relevant bugs) |
|||
| Line 4: | Line 4: | ||
* Champion: Aza Raskin <aza at mozilla dot com> | * Champion: Aza Raskin <aza at mozilla dot com> | ||
* Editors: Paul O’Shannessy < | * Editors: Paul O’Shannessy <paul at oshannessy dot com> | ||
* Status: Implementing | * Status: Implementing | ||
* Type: API Track | * Type: API Track | ||
* Created: 26 May 2009 | * Created: 26 May 2009 | ||
* Reference Implementation: None | * Reference Implementation: None | ||
* Relevant Bugs: {{bug|495532}} and {{bug|499368}} | |||
* [[Labs/Jetpack/JEPs|JEP Index]] | * [[Labs/Jetpack/JEPs|JEP Index]] | ||
| Line 22: | Line 23: | ||
==== Setting the clipboard ==== | ==== Setting the clipboard ==== | ||
<pre class="brush:js;toolbar:false;"> | <pre class="brush:js;toolbar:false;"> | ||
| Line 50: | Line 49: | ||
*'''flavor''': A Jetpack clipboard flavor. | *'''flavor''': A Jetpack clipboard flavor. | ||
* '''returns''': | * '''returns''': The data on the clipboard if available in provided flavor | ||
'''Examples''': | '''Examples''': | ||
| Line 63: | Line 62: | ||
You can figure out what flavors are currently on the clipboard by using | You can figure out what flavors are currently on the clipboard by using | ||
<pre class="brush:js;toolbar:false;">var flavors = jetpack.clipboard.getCurrentFlavors();</pre> | <pre class="brush:js;toolbar:false;"> | ||
var flavors = jetpack.clipboard.getCurrentFlavors(); | |||
</pre> | |||
* '''returns''': An array of Jetpack clipboard flavors. | |||
== Notes on Clipboard Flavors == | == Notes on Clipboard Flavors == | ||
edits