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

https://github.com/timonson/switchwitch

Web Component using Shadow DOM - Cycle through various media gracefully
https://github.com/timonson/switchwitch

javascript shadow-dom web-component webcomponent webcomponents webdesign webdevelopment

Last synced: about 1 month ago
JSON representation

Web Component using Shadow DOM - Cycle through various media gracefully

Awesome Lists containing this project

README

          

# switchwitch

A Web Component using the Shadow DOM - Cycle through various media gracefully.

## Demo

[Click](https://timonson.github.io/switchwitch/).

## Qick Start

Serve the file `demo.html` to your browser.

## Example

```html




import data from "./demo-data/inputData.js"
switcher.data = data

```

## API

```
"width",
"height",
"color",
"border-color",
"indexes",
"active-index",
"loop",
"data",
"item"
```