| Platform | Since |
|---|---|
| Android | 1.5 |
| iPhone | 1.5 |
| iPad | 1.5 |
| Mobile Web | 1.8 |
Set the data on the clipboard given a mime-type and the new data. This method will set data on the appropriate portion of the clipboard for the given mime-type.
| Name | Type | Summary |
|---|---|---|
| type | String |
The mime-type of the data to set. |
| data | Object |
The new clipboard text. |