
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@dvhb/jetslider
Advanced tools
Simple plugin for making beautiful page transitions
Option | Type | Default | Description |
---|---|---|---|
slideSelector | String | 'section' | Selector of the slide elements |
transitionDuration | Number | 800 | Duration of transition between slides |
scroll | Boolean | true | Changing slides by mouse scroll |
keyboard | Boolean | true if parent element is <body>. Else false | Changing slides by keyboard arrows |
easing | String | 'ease-in-out' | Easing function e.g. 'linear' , 'ease-in' , 'cubic-bezier(0.42,0,0.58,1)' ... |
onBeforeMove | Function | null | Function which will be called with newIndex and oldIndex arguments every time when animation starts |
onAfterMove | Function | null | Function which will be called with newIndex and oldIndex arguments every time when animation ends |
jsFallback | Boolean | true | If true js fallback will be used for animations in browsers which don't support css transorms and transitions. If false slides will change without animation in those browsers |
Options can be changed after initialization:
$('.slider').jetSlider(optionName, value);
$('.slider').jetSlider('moveto', index);
$('.slider').jetSlider('moveup');
$('.slider').jetSlider('movedown');
$('.slider').jetSlider('destroy');
You can initialize plugin without js code! Just add data-jetslider
attribute to slider container.
Options can be customized by using data-* attributes:
<div class="main" data-jetslider data-slide-selector=".page" data-transition-duration="2000" data-easing="ease-in">
<section class="page">
...
</section>
...
<section class="page">
...
</section>
...
</div>
FAQs
Simple plugin for making beautiful single-page applications
The npm package @dvhb/jetslider receives a total of 1 weekly downloads. As such, @dvhb/jetslider popularity was classified as not popular.
We found that @dvhb/jetslider 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.