News Examples Documentation Download Buy Forum Contact

Clipboard Plugin javascript plugin
by everpano | Jordi Vallverdú

Description

Copy any string to the clipboard. This is a very simple, yet powerful plugin for some task, most of the times probably combined with other plugins.
It's only function is to get a string and copy it into the clipboard, so you can paste it after.
copy to clipboard plugin

Download

  • The plugin is FREE

Syntax / XML Usage Example

<plugin name="c2c" 
        url="copy2clipboard.js" 
        keep="true"
        devices="html5"
        />

Plugin Action

  • copy2clipboard
    • Call it from any action or event like this :
      plugin[c2c].copy2clipboard('Lorem ipsum dolor amet');
      plugin[c2c].copy2clipboard(calc('my var value ' + myvar));
      plugin[c2c].copy2clipboard('àasfda âs üiwe Ë é ç ßäöü€');
      plugin[c2c].copy2clipboard('全景高科武汉技术有限公司');
      plugin[c2c].copy2clipboard('Привет Русский');
      plugin[c2c].copy2clipboard('سعودي');
      plugin[c2c].copy2clipboard('नमस्कार नमस्कार ');