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

1.0.2 • Public • Published
<div class="scroll-text" data-text="Mens" aria-label="Mens" tabindex="0" id="container">
    <h1 class="assistive-text" style="display: none;">Mens</h1> <!-- here for the SEO, but we don't want it to be Mens Mens Mens etc. This could be any element -->
    <div class="scroll-text__items" id="scroller"><span class="scroll-text__item" aria-hidden="true" style="padding-right: 5px">Mens</span></div>
</div>
const setup = {
    container: document.getElementById('container'),
    scroller: document.getElementById('scroller'),
    fps: 24,
};
const myMarquee = new Marquee(setup);

Readme

Keywords

none

Package Sidebar

Install

npm i stereo-marquee

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

10.2 kB

Total Files

9

Last publish

Collaborators

  • englishtom