Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
fullpage-pagination
Advanced tools
npm i fullpage-pagination
<div class="fullpage">
<div class="fullpage__inner js-fullpage">
<div class="fullpage__section" data-fullpage-id="section-1">section-1</div>
<div class="fullpage__section" data-fullpage-id="section-2">section-2</div>
<div class="fullpage__section" data-fullpage-id="section-3">section-3</div>
<div class="fullpage__section" data-fullpage-id="section-4">section-4</div>
<div class="fullpage__section" data-fullpage-id="section-5">section-5</div>
</div>
</div>
<!-- anchor -->
<button data-fullpage-anchor="section-3">button anchor to section 3</button>
<!-- anchor from another page -->
<a href="#section-3">link anchor to section 3 from another page</a>
import { Fullpage, addTouchEvents } from 'fullpage-pagination';
addTouchEvents();
const page = document.querySelector('.js-fullpage');
const options = {
// some options
};
const fullpage = new Fullpage(page, options);
fullpage.init();
Standart options
{
transition: 500, // slide transition in miliseconds
easing: 'ease', // slide transition easing
navigation: false, // html nav container
renderNavButton: false, // (i) => { // return button html }
prevButton: false, // prev button html element
nextButton: false, // next button html element
fadeIn: false, // fade effect
fadeInDuration: 500, // fade effect duration
customTransition: false, // no effects, just toggle active classnames
touchevents: false, // pagination on touchevents
loop: false, // loop option
toggleClassesFirst: false // if true - toggle sections classes before animation
}
fullpage.afterLoad = () => {
// some callback
};
fullpage.onExit = (section, resolve) => {
// some callback
};
fullpage.onEnter = (section, resolve) => {
// some callback
};
fullpage.onComplete = () => {
// some callback
};
FAQs
JS plugin for making fullpage pagination
The npm package fullpage-pagination receives a total of 3 weekly downloads. As such, fullpage-pagination popularity was classified as not popular.
We found that fullpage-pagination 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.