Package Exports
- simplr-dropdown
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simplr-dropdown) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
simplr-dropdown
Docs | API
A flexible React dropdown component.
Get started
$ npm install simplr-dropdownFeatures
- Toggles dropdown when clicked on
DropdownHeadercomponent - Closes dropdown when clicked outside of
DropdownHandlercomponent* - Closes dropdown when clicked on
DropdownSectioncomponent - Closes dropdown when clicked Escape button on keyboard
- Extendable base components
- Supports server side rendering
* This will not work when click event has stopped propogation (event.stopPropagation()) and therefore window.addEventListener("click", ...) will not receive event.
License
Released under the MIT license.