Skip to content

An element which scrolls the text inside it like the traditional marquee element found in the browsers of yesteryear

License

Notifications You must be signed in to change notification settings

24webcomponents/marquee-text-element

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<marquee-text> element

An element which scrolls the text inside it like the traditional marquee element found in the browsers of yesteryear.

Installation

Available on npm as marquee-text-element.

$ npm install --save marquee-text-element

Usage

Script

Import as ES modules:

import 'marquee-text-element'

Include with a script tag:

<script type="module" src="./node_modules/marquee-text-element/dist/index.js">
<marquee-text duration="2s">
  This text will scroll across the page over 2s
</marquee-text>

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

License

Distributed under the MIT license. See LICENSE for details.

About

An element which scrolls the text inside it like the traditional marquee element found in the browsers of yesteryear

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published