Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tflx/apple-tv-slider
https://github.com/tflx/apple-tv-slider
Last synced: about 6 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/tflx/apple-tv-slider
- Owner: tflx
- Created: 2023-06-05T13:22:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-05T14:58:30.000Z (12 months ago)
- Last Synced: 2024-10-19T22:13:23.566Z (3 months ago)
- Language: JavaScript
- Size: 1.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.