Socket
Book a DemoInstallSign in
Socket

cordova-plugin-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-clipboard

BlackBerry 10 Community Contributed API to access the system clipboard

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
82
28.13%
Maintainers
1
Weekly downloads
 
Created
Source

Clipboard Extension

This BlackBerry 10 Cordova Plugin provide simple clipboard access functions like getText and setText.

Tested On

BlackBerry Dev Alpha C / 10.2.0.429

Author

Merrick Zhang

About Me

Including the feature in your application

This API can be installed from source or from NPM. Installation from NPM is done through the following:

cordova plugin add cordova-plugin-clipboard

Installation from source is the same but instead of the id ("cordova-plugin-clipboard"), use the file system path to the source plugin folder.

The Plugin API

The Clipboard plugin provides the following API:

var str="something you want to copy to clipboard";
var result = community.clipboard.setText(str);
//result shows the bytes copied into clipboard, if result=="-1",then something is wrong.

var str = community.clipboard.getText;
// str is the content in the clipboard.

Disclaimer

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Keywords

blackberry

FAQs

Package last updated on 09 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.