{"_id":"@alexerdei73/drop-down-menu","_rev":"3-e70d21540e0f14e6c1a863bbdc9769e8","name":"@alexerdei73/drop-down-menu","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@alexerdei73/drop-down-menu","version":"1.0.0","description":"Simple drop-down-menu in JS","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","gitHead":"d0a7b7eb0a06340371f87c0715e77b9086db9786","_id":"@alexerdei73/drop-down-menu@1.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-1e+i75YUgzQ3PycE0itMJ6SFEEFD0posBXYpkcDNxz2NfA1oAq/Dd9PnmMVn5QufAOqYBuPjqU14Pf+O7W0IRg==","shasum":"5f7eac51d4bc7c9cdca86c76cafb07f7b648a50f","tarball":"https://registry.npmjs.org/@alexerdei73/drop-down-menu/-/drop-down-menu-1.0.0.tgz","fileCount":5,"unpackedSize":4437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSDzLCRA9TVsSAnZWagAAtkAP/11tGY6P5+aDiU/47l2t\n9iKubMyMaWAeVxinNVr0womH11Z5nmQVsR4AnBVdOMa9Wwieky4FGSahupGR\nVAvUu4ctrij61qd5wZn9EHATrQWLqU+HX+56M+rlN1m0KTjQ7syH7e7EAnmU\nl4RCIL5nC6F4PqylSYWKHbqYv3WviZ9k0fJwr8uVduylDuJJJEgVVFqVj7BU\nZHy9tCna+BFC1HaWpMzTxWqCl+oBH7jIDmdh95OQB+5UYGQmgKHxpk68SK2Y\nXiXpOFtnr+BsKD7T9AlJlVb00dJqE/7Pgjgf+db2TlN+Vlfvt94ftwo/rd77\npfVXAT3Fv5ztb06Crev3AuYpqnTT7C2VPO0rue4oizRg6EkcuSFcJ7p7uH/A\n4en0WO8GSMEQ3zLOl/4lBRjprQ6Vm5D91HSdiycMUjP86c3J+crbm149G91i\nDohzakXQPRh57q9buarwJLcKuc8uXFp1Nhs38wVkH1yLGRiC3zvBfSzFRi37\nmmN5wGXmZPiMAPsY31NSvSHbdQ++12qn5O/ONOCdDuNeL9H3u3HZ1vXBfKgR\n6jrC3U1D9N/cbnDC1dVgOxkzkCCLgzfknZ6tEs5Ww2MQuqZFE2WO7jfwtypc\nCvDmxq7eIDxNujeZw+HdoXLncJShmts4glK9NM8UAP9wcm9gc+Wty1MjJkzy\nohhX\r\n=NX7x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNyeEWf8Pt9vPu1zodai5qNLmk7e2e/Wsfmv14ANt6EAIgHk2grBAcxYYIApoQ5xhc9m9GSXCxcyEhClPQRtEwcx8="}]},"maintainers":[{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"}],"_npmUser":{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drop-down-menu_1.0.0_1598569674639_0.5232661733015298"},"_hasShrinkwrap":false},"1.0.1":{"name":"@alexerdei73/drop-down-menu","version":"1.0.1","description":"Simple drop-down-menu in JS","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","gitHead":"3006dba167f96e7d8b66ac9a6a49a36451104905","_id":"@alexerdei73/drop-down-menu@1.0.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-Wy0seIpuUpyNlZEv2SyeCYeeccsWKV8yKQ7KY03q68VgYrYW8MwlDV8zsFH9bDFIZhewK/prznTAhWmqcmBawg==","shasum":"228a148aacc52194a0426cb21c5070fedefbf7fb","tarball":"https://registry.npmjs.org/@alexerdei73/drop-down-menu/-/drop-down-menu-1.0.1.tgz","fileCount":5,"unpackedSize":4438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfSE/mCRA9TVsSAnZWagAASLkQAIjg+KMHLPHaX9GFPS+r\n5o474fOQUPzSMqlyB+YhJ7CMkxYAtfLL2VdnPsFKoKVZfbTt0A2kcNZEhPqA\nbW9jcOn/rWQqYl4gK/+akwySR19SqvaREhzIH3Wz4mYwA4pJPAEMK9/lsASE\nnXn6U6KzvJJAtPc9qW3Q5JBIN5f8Bq6Ax8fJV/LJb6E9yAt9TBHBdLGDvur/\nOAps5GHbxlrgn5yxCmvI1VROHseJh9hKO+QPX00YmMDewOMt4fzayWCjW3aG\nMtDjHQzUOlRORY94pG72wsB7gtM4kyU4TDoDRY1SYSGc5ukg4vKmG1mZ8O0M\naXYmayEO780DrSNaD5R7Mcmsm/K4p3CfTpZQihkVsLl1rpCBbc77xTPxPeM9\nCxGiXB9IquGprXqx/xQe6O6u3q3Z6JveeQ/OTuS/0CN6h8fZvHkcOyfOqwX2\nV9aKQfPiQcVPtlp6g95RVbeCOJG5plXKHvZ0nftJCXQde99L2Guj1ovRl7xS\nUXwuDYhDhyKiOzbfkcJfIaLvCVS2D14FvxLNl94B8l5vkk8O+s/Q0Hizwgzn\nOa9DujVO7yMGmf62BFpXRTq86RWty1f4ikD7/wZIHWE1WISkC0Gh5a5X2k4x\nF+fZWLdd/6QRUCihlmrs9YZnCkAHDEMmIBJhJyGp+FmEFv87oJwgESiNKI40\nL/PG\r\n=pdx/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHP7bTjuUDdrMegD16ZJM2QRfBeBRKyauw04Q2nnCcIDAiBSu3Ex/mnSyfa1rbDJyJUOfh94+KqixfDb+mhuQUJFCw=="}]},"maintainers":[{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"}],"_npmUser":{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drop-down-menu_1.0.1_1598574565676_0.6289570904966533"},"_hasShrinkwrap":false},"1.0.3":{"name":"@alexerdei73/drop-down-menu","version":"1.0.3","description":"Simple drop-down-menu in JS","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","gitHead":"e759121f217168bf4dc9571ab570aad40cb1d0cc","_id":"@alexerdei73/drop-down-menu@1.0.3","_nodeVersion":"14.4.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-UGlRQ0sjfvvIXZqiR5UwNMizN1dbKCJSIBh1JeOziIYoSVZqwv0FqywSpkhq3BbmL04j71RBTb3fR3RzqSpg8A==","shasum":"48ea73966bc82ab336ad0a12a514454c8f3050b6","tarball":"https://registry.npmjs.org/@alexerdei73/drop-down-menu/-/drop-down-menu-1.0.3.tgz","fileCount":5,"unpackedSize":5498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfShaQCRA9TVsSAnZWagAA+YsP/3jtE6fyQZq5mZC/KRje\n4lei+204PQaVUqGIEhm0iDcCvh08och3qXpyhYm5FNyn5Pw9pxGLcf+ip495\nf3iI3WexPBT0xoX7alfQAUczNcLF+vOogZLspYcVkNpjwNRjypvKd77kLTk/\nhRzIlCkunLYE0bx4qTkfj5uy3Gmtln9nJpMqmDnLigayc2KJ4rVKCnDpUxS4\n+DRIR1e80YuVwudAC1cWeRlRFNxxw4uhYF8JXGNWNLFy4sC8JwReVp+3v+Wq\nKra/Ttt+HOPS4dH5Lw8u8iLqbFnsngHFFO+6Z/dNG9z79NLUVt8x8E3qAqhJ\ngYyhcNKQZsHWA5dIjJiVIxJ0HoRL3Tdiq0v6J+1mpnCiwlVfFP9rWt14WtTi\nFDaE9hmgDw6RO1JBAlYFBOmZFjdo2uY76z0fkTtqamD7oYRURFOjs7rTsiU3\nDvWMRdShMw3kUbA1eXHR3OzxWikqYHVEWU5xUyAPudN+3c3GO4d/xoQbzN8g\nW6Py75bzG4ANE0XlIiQra/clHLffBH5AHWjhjmHCognZNsy08Tp/mg26g4DR\nORnCbJdN1uEcWGZyxwQBv8ev+YlSxWZetxO6wsFvkh/NJGs95hAKDNVxWfYP\nlOLCdbqfrSir7vHX2Z4ctgbphnuFlcMl5v5hHJ6U0dZ08QHcv+9q/V8QLOi7\nqKfR\r\n=Fp1q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE7RDkn/DKLKoXvtMwkaTg6/LV14rBcpWUDwFw4s7drgAiEA6oPAcT8FJASCidF6gDHNa35tbTiAVPm+KmL9Y5d1vGg="}]},"maintainers":[{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"}],"_npmUser":{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/drop-down-menu_1.0.3_1598690960420_0.20667346227980588"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-27T23:07:54.591Z","1.0.0":"2020-08-27T23:07:54.792Z","modified":"2022-04-04T12:39:49.111Z","1.0.1":"2020-08-28T00:29:25.783Z","1.0.3":"2020-08-29T08:49:20.549Z"},"maintainers":[{"name":"alexerdei73","email":"mralexerdei@yahoo.co.uk"}],"description":"Simple drop-down-menu in JS","license":"ISC","readme":"# @alexerdei73/drop-down-menu\n\nThis is an npm package, which can be used to handle a drop down menu. \n\n## General Information\nThe HTML file of your page should contain a container element. This element \nmust contain a div element and an unordered list, wich contains the menu points \nas list elements. When the user clicks the div element, the java script shows \nthe menu points. When the user clicks again, the menu points disapear. The\nCSS stylesheet should contain the .show and .hide classes, which show \nand hide the list, when they are given to the class list of the list\nelement. When the menu items are clicked, when they show, an event handler\ngets activated.\n\nThe javascript of the page should import the DropDownMenu class from this package.\nThen you make an instance of the object. The class has two parameters. The first is\nthe container element, the second is the event handler function. \nExample usage is in the index.html and sample.js files. These files can be found in\nthe node folder of your code, where the package downloaded.\n\n## Making a sample drop-down-menu in your browser\nYou need npm and webpack installed if you want to use this package in your webpage.\nTo set up your smaple page follow the steps: \n1. Install node.js \n2. Make an empty directory for your page.\n3. Run `npm init` in your directory to generate a package.json file.\n4. Run `npm install webpack webpack-cli --save-dev` to install webpack to the node_modules directory of your project.\n5. Create the dist and src directories in your directory.\n6. Run `npm install @alexerdei/drop-dow-menu`. This will install this package in the node_modules\n   folder in your directory.\n7. Copy from the folder of this package, which is in the `node_modules` folder, the index.html file to the dist directory and the sample.js file to the src directory. Rename sample.js in the src directory to index.js.\n8. Run `npx webpack` in the root directory of your project. Now you can view your index.html file in the browser. ","readmeFilename":"README.md"}