
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
throw-slider
Advanced tools
Slider with throw effect. All credit goes to GSAP https://codepen.io/GreenSock/pen/ExdyYed
Slider with throw effect
All credit goes to GSAP https://codepen.io/GreenSock/pen/ExdyYed
npm i throw-slider
import 'throw-slider'
<throw-slider>
<div>
<img src="https://picsum.photos/800/600?random=1" alt="slide 1">
</div>
<div>
<img src="https://picsum.photos/300/400?random=2" alt="slide 2">
</div>
<div>
<img src="https://picsum.photos/800/300?random=3" alt="slide 3">
</div>
<div>
<img src="https://picsum.photos/800/600?random=4" alt="slide 4">
</div>
<div>
<img src="https://picsum.photos/600/600?random=5" alt="slide 5">
</div>
<div>
<img src="https://picsum.photos/800/600?random=6" alt="slide 6">
</div>
<div>
<img src="https://picsum.photos/800/600?random=7" alt="slide 7">
</div>
<div>
<img src="https://picsum.photos/800/600?random=8" alt="slide 8">
</div>
<div>
<img src="https://picsum.photos/800/600?random=9" alt="slide 9">
</div>
</throw-slider>
| Attribute | Type | Default | Description |
|---|---|---|---|
autoplay | Boolean | false | Automatically moves |
speed | Number | 1 | Speed of the autoplay. Higher is faster |
notDraggable | Boolean | false | Remove the dragging option |
center | Boolean | false | Active element is the one in the center of the container rather than the left edge |
noRepeat | Boolean | false | Stop looping |
reversed | Boolean | false | Moves in reverse |
noSnap | Boolean | false | Don't snap on items |
noPauseOnHover | Boolean | false | Don't pause autoplay on hover |
throwResistance | Number | 3500 | Throw resistance, default is 3500 |
interface ThrowEvent {
currentItem: HTMLElement;
currentIndex: number;
}
"onChange": (event: CustomEvent<ThrowEvent>) => void;
FAQs
Slider with throw effect. All credit goes to GSAP https://codepen.io/GreenSock/pen/ExdyYed
The npm package throw-slider receives a total of 7 weekly downloads. As such, throw-slider popularity was classified as not popular.
We found that throw-slider demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.