Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/tflx/apple-tv-slider


https://github.com/tflx/apple-tv-slider

Last synced: about 6 hours ago
JSON representation

Awesome Lists containing this project

README

        

# AppleTV Slider

This is a custom web component that creates a slider in the style of Apple TV.

[See demo here](https://tflx.github.io/apple-tv-slider/?path=/story/appletv-slider--default)

## Installation

First, you need to import the component:

```typescript
import "./apple-tv-slider"
```

## Usage

To use the `appletv-slider` component, you can add it to your HTML:

```html
















```

### Attributes

- `speed`: The speed of the slide transition. Default is '1000ms'.

### Slots

- The `` slides: This is where you put the content of each slide.

### Events

- `change`: This event is fired when the active slide changes.