marquee-text-element
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

<marquee-text> element

An elemen 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.

Readme

Keywords

none

Package Sidebar

Install

npm i marquee-text-element

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

7.11 kB

Total Files

7

Last publish

Collaborators

  • keithamus