Give us feedback
copytoclipboard
Mobile icon

CopyToClipboard

Stable version 2.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 06 June 2019 by 
3.3
 (3 ratings)
copytoclipboard

CopyToClipboard

Documentation
2.0.1

How to use this component?

The CopyToClipboard component is a mobile component that uses the clipboard plugin from the Cordova plugins, to copy and paste values. This component uses the clipboard of your device so have in mind that if you copy something with the device copy functionality it will be on the clipboard and you can either paste or clear the clipboard with the actions of this component, as well as if you copy something with the component action you can paste it with the native paste functionality of the device.

This component has three actions:

CopyToClipboard - This action receives a string and copies it to the clipboard. It returns a Success boolean that can be true or false according to the action success or fail, in the last case it will also return the associated error message.


PastFromClipboard - This action will return you the value saved on the clipboard as a string. And the Success boolean with true or false according to the action success of fail.



ClearClipboard - This action will clear any value that you have on the clipboard and return the Success boolean.