An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# ractive-decorators-popper
A [popper.js](https://popper.js.org/) decorator for Ractive

Features
- 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 key

Click 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
```