{"_id":"@anthonyr1616/dropdown-component","_rev":"5-9dc65297feb362a587495922ccbc50d2","name":"@anthonyr1616/dropdown-component","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.0":{"name":"@anthonyr1616/dropdown-component","version":"1.0.0","keywords":["dropdown","menu","picker","ui"],"author":"","license":"MIT","_id":"@anthonyr1616/dropdown-component@1.0.0","maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"homepage":"https://github.com/anthonyr1616/my-dropdown#readme","bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"dist":{"shasum":"8bc11972502a7eb7e1be6f5b33298c0e4a3c176f","tarball":"https://registry.npmjs.org/@anthonyr1616/dropdown-component/-/dropdown-component-1.0.0.tgz","fileCount":4,"integrity":"sha512-L21YSGGewSalMI8EPgLP997yIompxJh8wJRvZJARDDF+948j+GUMzuPcfVayckBBCThnbkjJRIiSWc99gAtzXA==","signatures":[{"sig":"MEQCIB8Un3F1mF6t1qVIUN2FRThBAVuCLSz1TMt56tJXkr6kAiAKtnUaPUpovamNnaqPWrTK6k6l1CqrjbWwaNzETxlHOg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3822},"main":"dist/dropdown.js","gitHead":"d59c7db9ef3ef8db03df45a20da8950962a9fcbb","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"},"repository":{"url":"git+https://github.com/anthonyr1616/my-dropdown.git","type":"git"},"_npmVersion":"10.8.2","description":"My simple reusable dropdown component.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dropdown-component_1.0.0_1744734475885_0.25240354526890285","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@anthonyr1616/dropdown-component","version":"1.0.1","keywords":["dropdown","menu","picker","ui"],"author":"","license":"MIT","_id":"@anthonyr1616/dropdown-component@1.0.1","maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"homepage":"https://github.com/anthonyr1616/my-dropdown#readme","bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"dist":{"shasum":"e0dde635eec7187502111cff643c27a4dc31da91","tarball":"https://registry.npmjs.org/@anthonyr1616/dropdown-component/-/dropdown-component-1.0.1.tgz","fileCount":4,"integrity":"sha512-gyHlmP2a2X0RgCxcblUPSV8UTXvgCOXJBpoqDfAK6ma0vpoum/zb+UYWzINB54i2u07LZwaSe1cNa/rl/Q9kgw==","signatures":[{"sig":"MEUCIQCMKzwHHOmb8KY+Wpn6PkWB2QfMw/SsudvyHfjqEvXAkAIgXW3+ThhaQdxMYgVCeqzzkVlAFmWgLzUONBNA9afHbNs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3830},"main":"dist/dropdown.js","gitHead":"fc9d34c6f2e3c31ae127a9f02ce1c8aab341d8ef","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"},"repository":{"url":"git+https://github.com/anthonyr1616/my-dropdown.git","type":"git"},"_npmVersion":"10.8.2","description":"My simple reusable dropdown component.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dropdown-component_1.0.1_1744734660834_0.005499429952217305","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@anthonyr1616/dropdown-component","version":"1.0.2","keywords":["dropdown","menu","picker","ui"],"author":"","license":"MIT","_id":"@anthonyr1616/dropdown-component@1.0.2","maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"homepage":"https://github.com/anthonyr1616/my-dropdown#readme","bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"dist":{"shasum":"f66b66d3a3a7a16fd95b97b8f4e75ca366b6ba91","tarball":"https://registry.npmjs.org/@anthonyr1616/dropdown-component/-/dropdown-component-1.0.2.tgz","fileCount":5,"integrity":"sha512-Tmkh5204Gtu4pnxj/wE+Pbf3pqHOvynEge360f/PBOjJAiZG+UIGkj2vgSGJbij7ubDXxqQv3KYzg9OVX907JA==","signatures":[{"sig":"MEUCIQCjA1mOsYHGlv1dW/LcBRVhlkN3N/8PyMfkURqznAh0kwIgGcI5LZuemCOAD6k8hHmTstPm88OgUydMOL9bNaVYTcM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3938},"main":"dist/index.js","style":"dist/dropdown.css","module":"dist/index.js","gitHead":"b72ef25c7edae355e8bb10984ce388dee4004258","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"},"repository":{"url":"git+https://github.com/anthonyr1616/my-dropdown.git","type":"git"},"_npmVersion":"10.8.2","description":"My simple reusable dropdown component.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dropdown-component_1.0.2_1744751881610_0.5054444504655895","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@anthonyr1616/dropdown-component","version":"1.0.3","keywords":["dropdown","menu","picker","ui"],"author":"","license":"MIT","_id":"@anthonyr1616/dropdown-component@1.0.3","maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"homepage":"https://github.com/anthonyr1616/my-dropdown#readme","bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"dist":{"shasum":"f42d96b31bce194c68787cb15bace4ee9dcbc671","tarball":"https://registry.npmjs.org/@anthonyr1616/dropdown-component/-/dropdown-component-1.0.3.tgz","fileCount":5,"integrity":"sha512-DlJ08M6CTOSVNv0/8D0yE+EehnCZkuDLA+kgKX4MTKz127zgsPbX6ye5R2ejW6X5EFRkMZn4V/JHHQornR9DIg==","signatures":[{"sig":"MEUCIQDpmEWzL0CcdHy+pE1NBr45wLto21J8oAybCCwlP25MDgIgUVnvKVOFPzUHPK2MuNLmsFHLAXT6NJxhwqC/yZ+FGOM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3961},"main":"dist/index.js","style":"dist/dropdown.css","module":"dist/index.js","gitHead":"e0d863c6dcac1568d7e21d40ac51e0f7399e7532","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"},"repository":{"url":"git+https://github.com/anthonyr1616/my-dropdown.git","type":"git"},"_npmVersion":"10.8.2","description":"My simple reusable dropdown component.","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/dropdown-component_1.0.3_1744752221963_0.20053600147899076","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@anthonyr1616/dropdown-component","version":"1.0.4","description":"My simple reusable dropdown component.","main":"dist/dropdown.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/anthonyr1616/my-dropdown.git"},"keywords":["dropdown","menu","picker","ui"],"author":"","license":"MIT","bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"homepage":"https://github.com/anthonyr1616/my-dropdown#readme","_id":"@anthonyr1616/dropdown-component@1.0.4","gitHead":"84d18c7e0f11b309987f0e36bdbd4e52f2c2efa2","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-SAfM3P6DAPTPFSmczcSWgDFBAv82WT8aqklu+C2m0RLukTRMoP2Nhu0shZwhISa7yQ6P+ek1pxL5EL1wsv/egA==","shasum":"917c4caa14f6cbaf3f3b331db2ad54dc58f57d72","tarball":"https://registry.npmjs.org/@anthonyr1616/dropdown-component/-/dropdown-component-1.0.4.tgz","fileCount":4,"unpackedSize":3855,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCCaGBuF3pHKDqxp9LlrH/TF2DzbgpwniOkELoghnWaawIgYRLg5uZpBaFL+lBD5rDMi11uV+4abeo+8OgwYspTqug="}]},"_npmUser":{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"},"directories":{},"maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dropdown-component_1.0.4_1744758893992_0.2374747443733014"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-15T16:27:55.828Z","modified":"2025-04-15T23:14:54.335Z","1.0.0":"2025-04-15T16:27:56.036Z","1.0.1":"2025-04-15T16:31:01.003Z","1.0.2":"2025-04-15T21:18:01.875Z","1.0.3":"2025-04-15T21:23:42.138Z","1.0.4":"2025-04-15T23:14:54.174Z"},"bugs":{"url":"https://github.com/anthonyr1616/my-dropdown/issues"},"license":"MIT","homepage":"https://github.com/anthonyr1616/my-dropdown#readme","keywords":["dropdown","menu","picker","ui"],"repository":{"type":"git","url":"git+https://github.com/anthonyr1616/my-dropdown.git"},"description":"My simple reusable dropdown component.","maintainers":[{"name":"anthonyr1616","email":"anthonyr1616@gmail.com"}],"readme":"# @anthonyr1616/dropdown-component\n\nSimple dropdown for my own use\n\n## Usage\n\nUse html code with structure like below with class 'dropdown' being the outer div that contains a div of class 'div-trigger' and class 'dropdown-options' for the menu. Inside 'dropdown-options' div should be the options that will be in the dropdown and have the 'dropdown-option' class.\n\n    <div id=\"my-dropdown\" class=\"dropdown\">\n      <div class=\"dropdown-trigger\">Select</div>\n      <div class=\"dropdown-options\">\n        <div class=\"dropdown-option\">First</div>\n        <div class=\"dropdown-option\">Second</div>\n        <div class=\"dropdown-option\">Third</div>\n      </div>\n    </div>\n\nIn javascript create Dropdown object using the Dropdown class with the dropdown htmlelement as the first argument. Second argument is a optional and is used to make dropdown use hover event or click.\n\n    const myDropdown = document.querySelector('#my-dropdown');\n    const dropdown = new Dropdown(myDropdown, {event: \"hover\"});","readmeFilename":"README.md"}