Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clipboard-dom

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clipboard-dom - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

component.json
{
"name": "clipboard-dom",
"description": "Makes a DOM element (i.e. <button>) write to the system clipboard",
"version": "0.0.4",
"version": "0.0.5",
"keywords": [

@@ -6,0 +6,0 @@ "copy",

0.0.5 / 2014-06-16
==================
* fixing bug in `reposition`
* `swf` method now chainable
0.0.2 / 2012-09-04

@@ -3,0 +9,0 @@ ==================

@@ -31,3 +31,4 @@

} else {
return swfPath = path;
swfPath = path;
return Client;
}

@@ -141,2 +142,4 @@ }

this.appendElement = appendElem;
// find X/Y position of domElement

@@ -229,3 +232,3 @@ var box = getDOMObjectPosition(this.domElement, appendElem);

if (this.domElement && this.div) {
var box = getDOMObjectPosition(this.domElement);
var box = getDOMObjectPosition(this.domElement, this.appendElement);
var style = this.div.style;

@@ -232,0 +235,0 @@ style.left = '' + box.left + 'px';

{
"name": "clipboard-dom",
"description": "Copy-to-Clipboard on a DOM element",
"keywords": ["copy", "clipboard", "text", "click", "dom", "button"],
"version": "0.0.4",
"keywords": [
"copy",
"clipboard",
"text",
"click",
"dom",
"button"
],
"version": "0.0.5",
"dependencies": {

@@ -12,7 +19,13 @@ "classes-component": "*",

"component": {
"files": ["ZeroClipboard.swf"],
"files": [
"ZeroClipboard.swf"
],
"scripts": {
"clipboard-dom": "index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/component/clipboard-dom.git"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc