Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kouts/ractive-droplist

A searchable select list for Ractive
https://github.com/kouts/ractive-droplist

dropdown droplist ractive select select2

Last synced: 11 days ago
JSON representation

A searchable select list for Ractive

Awesome Lists containing this project

README

        

# ractive-droplist
A searchable select list for Ractive

Features
- Lightweight, minified version is < **15kb**
- Navigate through the list using the arrow keys
- Dropdown closes by clicking anywhere on the screen or by hitting the esc key
- Exposes a "change" event when a user changes the selected option
- Configure whether the full list is shown on open or not
- Works with any Array of Objects structure (configurable value - text mapping)
- Comes with Bootstrap 4 styling by default but it's also highly customizable via user CSS classes

Click here for documentation and examples
https://kouts.github.io/ractive-droplist/demo/

# Development

In order to start development:

```sh
npm i
npm run watch
```