Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jurca/szn-options

Accessible HTML selectbox options list with customizable UI. Based on web components and easy to integrate with various frameworks like React or Angular.
https://github.com/jurca/szn-options

Last synced: 6 days ago
JSON representation

Accessible HTML selectbox options list with customizable UI. Based on web components and easy to integrate with various frameworks like React or Angular.

Awesome Lists containing this project

README

        

# szn-options

Accessible HTML selectbox options list with customizable UI. Based on web
components and easy to integrate with various frameworks like React or Angular.

This component is not meant to be used stand-alone, it is a helper component
meant to be used in other `szn-` components.

---

This project has been re-integrated into the
[szn-select](https://github.com/jurca/szn-select) element. This repository is
no longer up-to-date.

---

## Usage

Markup (usually created dynamically via JS):

```html





```

JavaScript to wire things up:

```javascript
var select = document.getElementsByTagName('select')
var sznOptions = document.getElementsByTagName('szn-options')
sznOptions.setOptions(select)
```