Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 625 Bytes

clipboard.md

File metadata and controls

33 lines (23 loc) · 625 Bytes
id title officialDoc
clipboard
Clipboard

Clipboard has been deprecated and will be removed from React Native in the future.

Please refer to bindings for the replacement community package.


Methods

getString

To attempt reading content from the Clipboard; resolves to a string if successful.

getString: unit => Js.Promise.t(string)

setString

To copy a string to the Clipbard.

setString: string => unit