https://github.com/kouts/ractive-decorators-popper
Popper decorator for Ractive
https://github.com/kouts/ractive-decorators-popper
Last synced: about 2 months ago
JSON representation
Popper decorator for Ractive
- Host: GitHub
- URL: https://github.com/kouts/ractive-decorators-popper
- Owner: kouts
- License: mit
- Created: 2018-12-22T07:32:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T01:37:48.000Z (over 2 years ago)
- Last Synced: 2025-03-18T12:53:38.063Z (2 months ago)
- Language: JavaScript
- Size: 729 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ractive-decorators-popper
A [popper.js](https://popper.js.org/) decorator for RactiveFeatures
- Lightweight, minified version is < **6kb**
- Features navigation for Bootstrap 4 dropdowns using the arrow keys
- Arrows navigation works with both > li > a structure and div > a dropdown structure
- Raises events - popper_before_open, popper_open, popper_before_close, popper_close
- Popper closeable by clicking anywhere on the screen or by hitting the esc keyClick here for documentation and examples
https://kouts.github.io/ractive-decorators-popper/demo/# Development
In order to start development:
```sh
npm i
npm run watch
```