{"_id":"@advanced-rest-client/file-drop","_rev":"13-942e5c4b2fc825af5528d3a79aaabe17","name":"@advanced-rest-client/file-drop","dist-tags":{"latest":"3.2.0"},"versions":{"3.0.0-preview.1":{"name":"@advanced-rest-client/file-drop","version":"3.0.0-preview.1","keywords":["web-components","polymer","file","drag'n'drop","drag","drop","filesystem"],"license":"Apache-2.0","_id":"@advanced-rest-client/file-drop@3.0.0-preview.1","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/file-drop#readme","bugs":{"url":"https://github.com/advanced-rest-client/file-drop/issues"},"dist":{"shasum":"e9ed714c3bf207080991299a56909c511da436b8","tarball":"https://registry.npmjs.org/@advanced-rest-client/file-drop/-/file-drop-3.0.0-preview.1.tgz","fileCount":6,"integrity":"sha512-6If2/STNKIWUlbfaScNfKACripX9fPxbGghao+v0ZCX5ZLUDFNviAMARLGZNUAp/P/Y1Y7ShFzTRUnacBTLbGg==","signatures":[{"sig":"MEYCIQDpn5+CYDzN4voC73dag8Mh5Zh4l6r7tYir16NsIa3NzQIhAKZoW6X7To68xZtky+3XFZJYGfas3p3+BIUG0ikzCVCl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJclvydCRA9TVsSAnZWagAA0iYP+gPfhS9JChYA8LoGOvBz\nDLDvSUtMR7/5BZxs5kQBDnUs5pE/JjCblgG90t2T27O8uL/9efOTEqLHwu04\nlejFEBCAasXx/1QIShGh7voAQQKbQzCqRe68lJF4lcnWWJqOTWTMDmlPbR7n\nlQEI4L/1VUoeBfqXsmRpW0f/wMKWkm1fp8NVsC0Gbffp5uOaBZ82tlp0CHCP\nmmvuslbZsACcvXYZ8xGmorFY/x6BXaedPaA2jLeS5ITD//QiyQ1QleeO4F0C\noIhtQlDaLCMjZKSB8wY0n7JJ6y/fk+fX3m0OV9E5uj09GiTNUPlm3+XBibfq\nA+00l1Rh9arNS6s7ZjiMVr35WQF/CvXeuWdlxJGdw5mdHqExRWkv92ays9QY\nze+FGMWQNTZ+59SlDOfZusLZ1472R5B9xByjxLG7b0wdoWk1VJqJeYUCegbX\nUnNTqPyb70ee7vPyWTWH8OeT/THHeJbOGWvSuVZ+4VMQnLX8vmSNLSZ0nndW\nvab13o7o02dre7JRfdLq4KlopEdVimjOwesoetjv3iD8Rdx2lNwALt18DihL\nnWrcVn6B2fJlhLw97F5kI7IC2NrJEg63MKTMsYxZwVISB58MRkFZJAcL/Rvv\ncZ8NV6IdZsU7bZPbmBSWIvc4xvEIVli0thM0NvIkyjs8pJzptrdxpx78Y8In\ncJiv\r\n=ny9+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"file-drop.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"c2a91819c311faf9b933a14ebd393c7f6dd8605b","scripts":{"lint":"polymer lint file-drop.html","test":"polymer test --plugin local","test-sauce":"polymer test --plugin sauce --job-name \"file-drop:local-test\"","update-types":"gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"repository":{"url":"git://github.com/advanced-rest-client/file-drop.git","type":"git"},"_npmVersion":"6.9.0","description":"File drop web component","directories":{},"_nodeVersion":"10.15.3","dependencies":{"@polymer/polymer":"^3.0.0","@polymer/paper-button":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","mocha":"^5.2.0","sinon":"^7.2.3","wct-mocha":"^1.0.0","@polymer/test-fixture":"^4.0.2","@polymer/iron-demo-helpers":"^3.0.0","@polymer/iron-component-page":"^4.0.0","@webcomponents/webcomponentsjs":"^2.0.0","@polymer/gen-typescript-declarations":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/file-drop_3.0.0-preview.1_1553398941309_0.0715441380298798","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@advanced-rest-client/file-drop","version":"3.0.0","keywords":["web-components","file","drag'n'drop","drag","drop","filesystem"],"license":"Apache-2.0","_id":"@advanced-rest-client/file-drop@3.0.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/file-drop#readme","bugs":{"url":"https://github.com/advanced-rest-client/file-drop/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"7207ad2f47500aed7dbeb39561adc9fd79e91e47","tarball":"https://registry.npmjs.org/@advanced-rest-client/file-drop/-/file-drop-3.0.0.tgz","fileCount":6,"integrity":"sha512-vTMEBZc5XbnSTyG4Etzky0kyWSKlj1b3Tx3N+JKVnWyh0jQ9cKt8WeA5YHufsdyzT9/GwMeZAuf5YNXBzyxEWQ==","signatures":[{"sig":"MEUCIQDgU+ct3r8eez20mBy38A3qmL3kJbAlZMZsLCLpZ46sSQIgNlWiq3hScmsWcja4JfDxPMHu0VDgXlYuSZt0Uum7YI8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNplFCRA9TVsSAnZWagAAkvMP/RI85RMl/8KI3j2tTxpI\n00FKGD4aVci5c/ODbdsKRKcWBqS97NjsciodIW0oWw6+Dm1WQLujRWeND8PO\njAvhj+yX27v/oEUIxAQ4HMKR7ndf2f0Fq0tCEzE7JYd84aygLJK/yz8MY1g9\nbIPAEo4ob5yKkVmySMxlwpxlXUM3ocLp8RZ/ouqq3wZFwlkSdLejnolhCYIr\n03VkGG2fSOWtz2PNdUO2hcwdpK7dCQQQDOoRhiSjZV941MfT9Y4dwoov9P4A\n2qhesjlTTUorCF6zhncT3HJE1E0JHzZL4502MIauAvvHzBnYNgWJDF9ceYaB\nydoAxgbmh41Aq4GA9ab+Ru1i2r1S/zdk7ak28QvR49k/x8wLLyBKWNaK4DQl\nIM5MHxW66lex3c1qejlK0ZcSeMOgZhJpi54Gm+uXnDQFnXngeZw2SGOLDe/j\nGjnkVFJXc8vIbi5gr87/vOnaGSVHHEM0yiS+YQup97CO69zO3Tv5Q2Fu4Sb9\n+L5yKirVD+snYLllqAvZjCemA6LNsYql6nnliSWsRFaxbZrE/4mxI+SEvoFM\n0h4ysPqtTDX2wGeJWFBrOjT9enuVpx397GI5QtaZYvAYgKHlgTimlxrklukN\n1F77BQZ0uWFCFE9wN0UcVTFbsmBNC3BN6PMWETqJaHrXqInOp9FJFBkX8Nkg\n2PY5\r\n=Baqp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"file-drop.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"5d61a2bd3d55221a69fa03058d0a76fadaab0318","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"owc-dev-server --app-index demo/index.html --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --legacy --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --legacy --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --legacy --auto-watch=true --single-run=false"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is no longer maintained","repository":{"url":"git://github.com/advanced-rest-client/file-drop.git","type":"git"},"_npmVersion":"6.10.1","description":"File drop web component","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"10.15.3","dependencies":{"lit-element":"^2.0.1","@polymer/paper-button":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","sinon":"^7.2.3","lint-staged":"^8.0.0","lit-element":"^2.0.1","webpack-merge":"^4.1.5","owc-dev-server":"^1.0.0","@commitlint/cli":"^8.1.0","@open-wc/testing":"^0.11.1","@open-wc/eslint-config":"^0.4.1","@open-wc/testing-karma":"^2.0.6","@open-wc/prettier-config":"^0.1.0","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/a11y-suite":"^1.1.0","@advanced-rest-client/eslint-config":"^1.0.6","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.3","@advanced-rest-client/testing-karma-sl":"^1.0.2"},"_npmOperationalInternal":{"tmp":"tmp/file-drop_3.0.0_1563859268048_0.6729582326166281","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@advanced-rest-client/file-drop","version":"3.1.0","keywords":["web-components","file","drag'n'drop","drag","drop","filesystem"],"license":"Apache-2.0","_id":"@advanced-rest-client/file-drop@3.1.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"}],"contributors":[{"name":"Pawel Psztyc"},{"name":"The Advanced REST client authors","email":"arc@mulesoft.com"}],"homepage":"https://github.com/advanced-rest-client/file-drop#readme","bugs":{"url":"https://github.com/advanced-rest-client/file-drop/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"17ce3fd5ead992cc908514f49029dabdce255ff8","tarball":"https://registry.npmjs.org/@advanced-rest-client/file-drop/-/file-drop-3.1.0.tgz","fileCount":6,"integrity":"sha512-RS6XJeb9xcGYCRGcjYTV+o71HK/lTxwO1hODhoj0ZMyjvCfn65cJuBO81aMqdehV1cDeNP4y6wwCdy5gIvjFAw==","signatures":[{"sig":"MEYCIQD8b4g4eTyb7fR4XqsNKfsDISgZTF3y9saUiHTd2mZ6rwIhAIh6j0YPVMPCyqEp7ujAehaD9g6fIyNFOmG0px64Fp9u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdlUpJCRA9TVsSAnZWagAAgAwP/3Dpsj1w332oJ0aHJBia\nSC19e7B6DCjNijv4//f3LX/VKeYdRHZKucaceLnnjeES12/ZGJqmRXkHZlPH\nXfKC01bZNLqA3yjToRfz/77vEEl8qNA5wtOUWyEWFLsxLtkB+XznKAdvjH5D\n/ALD5wBzUnvntpbLHw2yB/GVg+GG3JHFCD5ZfBSj08SHYKWEXUlo7BCX+i2u\nstKY/BNprgClc2MfPMFaKJys29IMUfF23MKI3E/fzHt7Vt5UOdXCAVKRZy2U\nPrHvrx6qVf9Ktz8ntQ5jsPoGOoX4ne2sNv3kTTeyyI+uLYe1k5FffJFwkBm8\nA4bpyTI6k2pS8U/cIVNDQ184XClbG//3dp3pQbdOhoa1KSyjmQ2Yz51D+ZP3\nVUL3uUFN3ZQDH3qgkKPO8s3pwwAvDzTf95UlrbUMhVKPgnlvbudOpwAKHJqp\n/01nj8ApwX2/nBP+qINNF4qLMBJwVGCTZzU/KBOEWbdjVKoDdGT5neyqfj3g\n3Q9zIsZXnIzqe3/HE6x5lnh4XgNFYp4qCtbJk1z0ZZRR2y7JekswKuvKGaWr\nxfzCBr3FI8iOrpaeMT4tm7jns57nIgQF0cTsj2fsRaSu0N3njYowPdxxuIK3\n98d9vko5f8uhamGki7cz0kMXKHtM2TITsHEi2K6QLzgLXLRNPQpVxsu96HUm\n/fzP\r\n=CMFw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"file-drop.js","authors":["Pawel Psztyc","The Advanced REST client authors <arc@mulesoft.com>"],"gitHead":"c28c607a80a965d2c70bad83eaa7104f8b22d618","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility all --coverage","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html .","test:legacy":"karma start --compatibility all --coverage","update-types":"gen-typescript-declarations --deleteExisting --outDir .","format:eslint":"eslint --ext .js,.html . --fix","lint:prettier":"prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)","format:prettier":"prettier \"**/*.js\" --write","test:legacy:watch":"karma start --compatibility all --auto-watch=true --single-run=false","start:compatibility":"es-dev-server --app-index demo/index.html --compatibility all --node-resolve --open --watch"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"deprecated":"This component is no longer maintained","repository":{"url":"git://github.com/advanced-rest-client/file-drop.git","type":"git"},"_npmVersion":"6.11.3","description":"File drop web component","directories":{},"lint-staged":{"*.js":["eslint --fix","git add"]},"_nodeVersion":"12.10.0","dependencies":{"lit-element":"^2.2.1","@anypoint-web-components/anypoint-button":"^1.0.11"},"_hasShrinkwrap":false,"devDependencies":{"husky":"^1.0.0","sinon":"^7.5.0","deepmerge":"^4.0.0","lint-staged":"^8.0.0","es-dev-server":"^1.18.3","@commitlint/cli":"^8.2.0","@open-wc/testing":"^2.3.4","@open-wc/testing-karma":"^3.1.38","@commitlint/config-conventional":"^7.0.0","@advanced-rest-client/eslint-config":"^1.1.3","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.14","@advanced-rest-client/prettier-config":"^0.1.0","@advanced-rest-client/testing-karma-sl":"^1.0.5"},"_npmOperationalInternal":{"tmp":"tmp/file-drop_3.1.0_1570064969087_0.9068520882745088","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"@advanced-rest-client/file-drop","version":"3.2.0","keywords":["web-components","file","drag'n'drop","drag","drop","filesystem"],"license":"Apache-2.0","_id":"@advanced-rest-client/file-drop@3.2.0","maintainers":[{"name":"jarrodek","email":"jarrodek@gmail.com"},{"name":"lbauret","email":"leandro.bauret@mulesoft.com"},{"name":"twoplustwoone","email":"francisco.digiandomenico@gmail.com"}],"contributors":[{"name":"Your name can be here!"}],"homepage":"https://github.com/advanced-rest-client/file-drop#readme","bugs":{"url":"https://github.com/advanced-rest-client/file-drop/issues","email":"arc@mulesoft.com"},"dist":{"shasum":"a3d0f3a35a564a3f66c4f675c7f6c696f1818a8d","tarball":"https://registry.npmjs.org/@advanced-rest-client/file-drop/-/file-drop-3.2.0.tgz","fileCount":11,"integrity":"sha512-JHz3QFbEqn3R8kAFkE/Zc6Y/kQwNnf0f4qHSg37d0vA+cPWNkne4FCAwCl0JAtrHxCiWhk6IHdQYvyf8wh4lDQ==","signatures":[{"sig":"MEUCIQDVpB79AA7vMh/OTbUy1KBG1PlFIYH7bYl69RFjPsS/MQIgeM4bYfpJ3g4cOwFF34dX1jGzrS726YZ4QcTLvI5RGLw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+vv+CRA9TVsSAnZWagAAZ+cQAI80S/v46xqe2165b50/\n7IqsKLXdiblpjzSkt9X+fWaMFVmBCxPBJxmLEd1ZyjJpPwZ5XBp9lXM4lp7y\nL/t2CV8/jViUKJ046Rh2JeI6iUC136D0SIKZM7GHduL1OUqN5ACqAwEXARyV\nMcKRbJNeYGCR3BJHEcmTSvY8AIP9kMziIBqUaeX21FxK7iWZnd5scvBBDTSB\np+6mlwugY48Hgpp12TQfv4g4uxouuRfDQ9rCPw41Jmvdg8XQAaUWieyhauuJ\nc3eMYGFF8iIFvA0aPnaAG6wyRVk0AYoAuuA/q17dS1s6CnZwi/2we1AlrvG6\n3kSibQ21amIfaUmjBf0lDEU4X6dy6A2bmGGSpYcpGBZ0VkBBpBhkhanIcbUk\nNo3obB2AE7P64pNJUiy6rk45G9mCg5uDxiVNN9FD8exV0HY8UUvHSEsO5hmg\nFQByY4xNAzOzXkkpG+z3VIDgZRCdLNfx1fYKOnWvuYRUYrP4/OMNfymDJDHk\nWVGqrk6chiEK6W0KIL1+ndvEAyw/MLltu+XwfZrS1nBY7eIBptEaIxuYoWga\n3aY5HJotG+h3hBTucIxbpe2W7ZU9atxT+DPBGncP8nZtwFcHqBuwamU6I7Ku\n/V3UIG2QG97xsWgGBkfo2pn8KLAx211jbYWBYM1Uu+Cht7VUynhcRub/ZDBf\nhA5E\r\n=hcW4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"index.js","authors":["Pawel Psztyc"],"gitHead":"ec1a0562bd6be4940939d30e13913bf10addb68d","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"karma start --coverage","start":"es-dev-server --app-index demo/index.html --node-resolve --open --watch","format":"npm run format:eslint && npm run format:prettier","test:sl":"karma start karma.sl.config.js --compatibility auto --coverage","lint:types":"tsc","test:watch":"karma start --auto-watch=true --single-run=false","lint:eslint":"eslint --ext .js,.html . --ignore-path .gitignore","format:eslint":"eslint --ext .js,.html . --fix --ignore-path .gitignore","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"jarrodek","email":"jarrodek@gmail.com"},"prettier":{"arrowParens":"always","singleQuote":true},"deprecated":"This component is no longer maintained","repository":{"url":"git://github.com/advanced-rest-client/file-drop.git","type":"git"},"_npmVersion":"6.14.4","description":"File drop web component","directories":{},"lint-staged":{"*.js":["eslint --fix"]},"_nodeVersion":"13.13.0","dependencies":{"lit-element":"^2.3.1","@anypoint-web-components/anypoint-button":"^1.1.1"},"eslintConfig":{"extends":["@open-wc/eslint-config","eslint-config-prettier"],"overrides":[{"files":["**/demo/**/*.js","**/demo/**/*.html"],"rules":{"no-console":"off","no-unused-expressions":"off","class-methods-use-this":"off","import/no-extraneous-dependencies":"off"}}]},"_hasShrinkwrap":false,"devDependencies":{"husky":"^4.2.5","sinon":"^9.0.2","eslint":"^6.8.0","prettier":"^2.0.5","deepmerge":"^4.2.2","typescript":"^3.9.5","lint-staged":"^10.2.11","es-dev-server":"^1.56.0","@open-wc/testing":"^2.5.18","@open-wc/eslint-config":"^2.0.0","@open-wc/testing-karma":"^3.4.6","eslint-config-prettier":"^6.11.0","typescript-lit-html-plugin":"^0.9.0","@polymer/gen-typescript-declarations":"^1.6.2","@advanced-rest-client/arc-demo-helper":"^1.0.17","@advanced-rest-client/testing-karma-sl":"^1.3.1"},"_npmOperationalInternal":{"tmp":"tmp/file-drop_3.2.0_1593506813717_0.015101041382993508","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-03-24T03:42:21.155Z","modified":"2026-04-07T19:30:40.159Z","3.0.0-preview.1":"2019-03-24T03:42:21.479Z","3.0.0":"2019-07-23T05:21:08.176Z","3.1.0":"2019-10-03T01:09:29.191Z","3.2.0":"2020-06-30T08:46:53.892Z"},"bugs":{"url":"https://github.com/advanced-rest-client/file-drop/issues","email":"arc@mulesoft.com"},"license":"Apache-2.0","homepage":"https://github.com/advanced-rest-client/file-drop#readme","keywords":["web-components","file","drag'n'drop","drag","drop","filesystem"],"repository":{"url":"git://github.com/advanced-rest-client/file-drop.git","type":"git"},"description":"File drop web component","contributors":[{"name":"Your name can be here!"}],"maintainers":[{"email":"jarrodek@gmail.com","name":"jarrodek"},{"email":"alexperez@mulesoft.com","name":"alexperez_march_2024"},{"email":"elmellidiego@gmail.com","name":"dmacias"}],"readme":"[![Published on NPM](https://img.shields.io/npm/v/@advanced-rest-client/file-drop.svg)](https://www.npmjs.com/package/@advanced-rest-client/file-drop)\n\n[![Build Status](https://travis-ci.com/advanced-rest-client/file-drop.svg)](https://travis-ci.com/advanced-rest-client/file-drop)\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/advanced-rest-client/file-drop)\n\n\n# file-drop\n\nA component that render file drop region.\n\n## Usage\n\n### Installation\n```\nnpm install --save @advanced-rest-client/file-drop\n```\n\n### In an html file\n\n```html\n<html>\n  <head>\n    <script type=\"module\">\n      import './node_modules/@advanced-rest-client/file-drop/file-drop.js';\n    </script>\n  </head>\n  <body>\n    <file-drop></file-drop>\n    <script>\n    {\n      document.querySelector('file-drop').onchange = (e) => {\n        console.log(e.target.file);\n      };\n    }\n    </script>\n  </body>\n</html>\n```\n\n### In a LitElement\n\n```js\nimport { LitElement, html } from 'lit-element';\nimport '@advanced-rest-client/file-drop/file-drop.js';\n\nclass SampleElement extends LitElement {\n  render() {\n    return html`\n    <file-drop @change=\"${this._fileChange}\"></file-drop>\n    `;\n  }\n\n  _fileChange(e) {\n    this.file = e.target.file;\n  }\n}\ncustomElements.define('sample-element', SampleElement);\n```\n\n## Development\n\n```sh\ngit clone https://github.com/advanced-rest-client/file-drop\ncd file-drop\nnpm install\n```\n\n### Running the demo locally\n\n```sh\nnpm start\n```\n\n### Running the tests\n```sh\npolymer test\n```\n","readmeFilename":"README.md"}