{"_id":"@aaronrory/js-dropdownmenu","_rev":"15-456577227e841522ff9bc9c7dbd31e9a","time":{"1.0.0":"2020-02-07T15:13:29.847Z","created":"2020-02-07T15:20:06.735Z","1.0.1":"2020-02-07T15:20:06.935Z","modified":"2022-04-04T10:55:45.939Z"},"name":"@aaronrory/js-dropdownmenu","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"@aaronrory/js-dropdownmenu","version":"1.0.1","description":"A bare minimum importable module for JavaScript drop down menus","main":"./src/menu/menuhandler.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"webpack --mode production","watch":"webpack --watch --mode development"},"repository":{"type":"git","url":"git+https://github.com/Aaron-RN/JS-DropdownMenu.git"},"keywords":["javascript","dropdown","menu","basic","minimum"],"author":{"name":"Aaron Rory Newbold"},"license":"MIT","bugs":{"url":"https://github.com/Aaron-RN/JS-DropdownMenu/issues"},"homepage":"https://github.com/Aaron-RN/JS-DropdownMenu#readme","devDependencies":{"css-loader":"^3.4.2","eslint":"^6.8.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.20.1","style-loader":"^1.1.3","webpack":"^4.41.5","webpack-cli":"^3.3.10"},"dependencies":{},"gitHead":"962d89b83c9e6dcdfd7bc9dae7127d445e8fc2ce","_id":"@aaronrory/js-dropdownmenu@1.0.1","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-hcRzUQpcWKBjIsq+YKdYSy0s/KE/qKB9m1AdacCMwzFakZ63QLskuv9qSWRCHDgc9BomZxPFMkU4T7dC3LseQw==","shasum":"b5ffb3c2cf2eb42ff36f9a3c135940b4669d12ac","tarball":"https://registry.npmjs.org/@aaronrory/js-dropdownmenu/-/js-dropdownmenu-1.0.1.tgz","fileCount":13,"unpackedSize":58393,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePYAnCRA9TVsSAnZWagAAB9kP/0Ih3S7CCUtxIsbXkZcj\nwWsIFH4nHVrIK967mkRTJtNfUf7da3usyA4CnVMQHv8zT9NnfTFTnDd1+GaO\nkJ15pjrKasuJwv3gjLdxD5U37r6QfuYBSGA+IMpkK4AJpMaivh5AWAULKwcB\n/hgAMA+x2anJHoGpbSIV1EzikfmU/JKcUkCZxOG7e1KvsWd92xxebRnAJMAD\ngX4HF8eomOIgwRVmVUSmjSDMFWKuhnFXdtii6Hede67WpdR5BnhX1wouHePq\nynbEyVcjKR3bykdGSxfLKz4LVsx1BAQEbgyEkPMbJGoShnQ6eVv4kWJ3AO8R\nXpF0HCBvbAGZXK3PD6rrg0JsnjVG2jGaPxLN99gEYaJepQyO+YiHlxb88g9U\nvrY+z12ad371bEIJv9y3lqIKUqm3JvlNviC95K4kRf4T6pqsnDjprQypKAEO\n4F3G2lXlU2XWQOJtdxF4K2U4E362n0GrRO1wWkRcBSeI3Aue189gjwzih/tz\nh+VlILJhWyyKbXxLSYBO7iTNgSHF52O9mYJkwpsATmcxWOdGy/6wH/GPHS/P\n0PuJwm1QbcYmURL8yHEeZgEcY9kiE+2QP4nLNlpdx4mk8Rl9OP4zKD5MjZdK\nzKJzcKlOPhGKFuYiKVv0smNdMf9Mh+n03pHu+m2X7+hbdKU2QWWt4no8ImHG\nqweX\r\n=tRvr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMlkhNDR2feiDom4LKYi6C7FjTt6CSsWMmzC5rsAmJZAiEA5E0v0pe2sachNMgKICJ57wGFEDgQBipixXahOoqBD4c="}]},"maintainers":[{"name":"aaronrory","email":"aaron.rory.newbold@gmail.com"}],"_npmUser":{"name":"aaronrory","email":"aaron.rory.newbold@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/js-dropdownmenu_1.0.1_1581088806767_0.7292682294212853"},"_hasShrinkwrap":false}},"maintainers":[{"name":"aaronrory","email":"aaron.rory.newbold@gmail.com"}],"description":"A bare minimum importable module for JavaScript drop down menus","homepage":"https://github.com/Aaron-RN/JS-DropdownMenu#readme","keywords":["javascript","dropdown","menu","basic","minimum"],"repository":{"type":"git","url":"git+https://github.com/Aaron-RN/JS-DropdownMenu.git"},"author":{"name":"Aaron Rory Newbold"},"bugs":{"url":"https://github.com/Aaron-RN/JS-DropdownMenu/issues"},"license":"MIT","readme":"# JS-DropdownMenu\r\nA bare minimum importable module for JavaScript drop down menus\r\n\r\n![screenshot](./screenshot.png)\r\n\r\n## To install module\r\n\r\nAdd the following JavaScript code to your main js file\r\n```JavaScript\r\nimport MenuHandler from '@aaronrory/js-dropdownmenu';\r\n\r\nconst menuHandler =  new MenuHandler();\r\nmenuHandler.constructMenus();\r\n```\r\nTo install the module use the command:\r\n```npm install @aaronrory/js-dropdownmenu --save```\r\n\r\n## Instructions\r\n\r\nSimply follow the similar layout to add this dropbox functionality to your html page.\r\nYou must have two main div elements with the ``` data-dropDownMenu = \"verticle\" ``` attribute for the parent and\r\n``` data-dropDownContent = \"true\" ``` attribute in the child div containing the dropdown links or items.\r\n\r\n```html\r\n<div data-dropDownMenu=\"verticle\">\r\n  <span>Dropdown Menu</span>\r\n  <div data-dropDownContent =\"true\">\r\n    <a href=\"#\">Dropdown 1</a>\r\n    <a href=\"#\">Dropdown 2</a>\r\n    <a href=\"#\">Dropdown 3</a>\r\n  </div>\r\n</div>\r\n```\r\n\r\n## Live Link\r\nLive Githack Link: https://raw.githack.com/Aaron-RN/JS-DropdownMenu/gitshow/dist/index.html\r\n\r\n## Built With\r\n\r\n- HTML, CSS\r\n- JavaScript\r\n- Webpack\r\n\r\n## Authors\r\n\r\n👤 **Aaron Rory**\r\n\r\n- Github: [@Aaron-RN](https://github.com/Aaron-RN)\r\n- Twitter: [@ARNewbold](https://twitter.com/ARNewbold)\r\n- Linkedin: [Aaron Newbold](https://www.linkedin.com/in/aaron-newbold-1b9233187/)\r\n\r\n## 🤝 Contributing\r\n\r\nContributions, issues and feature requests are welcome!\r\n\r\nFeel free to check the [issues page](issues/).\r\n\r\n## Show your support\r\n\r\nGive a ⭐️ if you like this project!\r\n\r\n## 📝 License\r\n\r\nThis project is [MIT](lic.url) licensed.\r\n","readmeFilename":"README.md"}