🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

marquee-text-element

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

marquee-text-element

An elemen which scrolls the text inside it like the traditional [marquee](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/marquee) element found in the browsers of yesteryear.

0.0.1
latest
Source
npm
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 02 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts