1.0.21 • Published 4 years ago

@zalari-oss/wc-marquee v1.0.21

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

GitHub Releases NPM Release Bundlephobia MIT License Published on WebComponents.org Latest Status Release Status

A Vanilla Web Component to resurrect our dearly beloved and sorely missed <marquee> element


Installation

npm i @vanillawc/wc-marquee

Then import the index.js file at the root of the package.


Usage

Attributes

  • party - enable party mode

Basic Usage

<wc-marquee>
This text will marquee across the screen
</wc-marquee>

Party Mode

<wc-marquee party>
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>

Styling

Styling can be done using standard css attributes.

<wc-marquee style="font-family: sans-serif;">
This will demonstrate the resplendent joy of HTML in its prime
</wc-marquee>

Demos

WC-Marquee - WebComponents.dev