Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@andresclua/infinite-marquee-gsap
Advanced tools
Readme
This package was designed specifically for one purpose - Provide a function for an endless loop using GSAP, it will make the process simpler and faster.
npm i @andresclua/infinite-marquee-gsap
div class="c--text-a">
<div class="c--text-a__item">
<p class="c--text-a__item__title">
this is my first content hope you liked it
</p>
<p class="c--text-a__item__title">
this is my second content, doesnt look pretty large so far
</p>
<p class="c--text-a__item__title">
this is my third content, needs to add a bunch of stuff here
</p>
<p class="c--text-a__item__title">
this is my fourth content, and is quite long
</p>
<p class="c--text-a__item__title">
stay there, we need a few more lines
</p>
<p class="c--text-a__item__title">
Im done, lets use some Lorem ipsum, sit maxime atque quisquam voluptatum accusantium.
</p>
<p class="c--text-a__item__title">
similique aut unde numquam, voluptate, consectetur provident nostrum,
</p>
<p class="c--text-a__item__title">
Nemo, aliquam.
</p>
</div>
</div>
.c--text-a{
position: relative;
display: flex;
align-items: center;
overflow: hidden;
&__item{
display: flex;
align-items: center;
justify-content: center;
padding: 0;
position: relative;
flex-shrink: 0;
overflow: hidden;
&__title{
padding:1rem;
background:red;
}
}
}
minimal configuration
import {horizontalLoop} from '@andresclua/infinite-marquee-gsap';
window.addEventListener("load", () => {
horizontalLoop(document.querySelectorAll('.c--text-a__item__title'), {paused: false,repeat:-1});
});
FAQs
This package was designed specifically for one purpose - Provide a function for an endless loop using GSAP, it will make the process simpler and faster.
The npm package @andresclua/infinite-marquee-gsap receives a total of 3 weekly downloads. As such, @andresclua/infinite-marquee-gsap popularity was classified as not popular.
We found that @andresclua/infinite-marquee-gsap demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.