https://github.com/vanillawc/wc-marquee
A vanilla web component marquee banner with party mode
https://github.com/vanillawc/wc-marquee
marquee party vanilla web-components
Last synced: about 1 year ago
JSON representation
A vanilla web component marquee banner with party mode
- Host: GitHub
- URL: https://github.com/vanillawc/wc-marquee
- Owner: vanillawc
- License: mit
- Created: 2019-04-15T01:07:36.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T18:53:12.000Z (about 5 years ago)
- Last Synced: 2025-03-20T18:11:15.492Z (about 1 year ago)
- Topics: marquee, party, vanilla, web-components
- Language: JavaScript
- Size: 171 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
<wc-marquee> The Marquee Tag as a Web Component
## Installation
*Installation*
```sh
npm i @vanillawc/wc-marquee
```
*Import from NPM*
```html
```
*Import from CDN*
```html
```
## Demo
Try it on [WebComponents.dev](https://webcomponents.dev/edit/xHimVOHvwKeM64huCe18?sv=1&pm=1)
## Usage
**Attributes**
- `party` - enable party mode
### Basic Usage
```html
This text will marquee across the screen
```
### Party Mode
```html
This will demonstrate the resplendent joy of HTML in its prime
```
### Styling
Styling can be done using standard css attributes.
```html
This will demonstrate the resplendent joy of HTML in its prime
```
## Contributing
See [CONTRIBUTING.md](https://github.com/vanillawc/vanillawc/blob/main/CONTRIBUTING.md)