wfsgoto
v1.0.1
Published
WFSgoto plugin - A simple plugin for animated transition between page blocks.
Downloads
6
Maintainers
Readme
🚀 Demo
🌟 Features
- No dependencies required.
- Smooth scrolling functionality.
- Configurable options.
- Mobile responsive design
- Lightweight at just 2 Kb (minified and gzipped).
Installation (using package managers)
$ npm install wfsgoto --save$ yarn add wfsgoto$ bower install wfsgoto --saveUsage
Implementing wfsgoto.js into your project is easy.
Add script right before closing </body> tag:
<script src="js/wfsgoto.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
const WFSgoto = new WFSgoto({
elements: '.goto'
duration: '1300'
indicatorGoTop: 'go-to-top'
typePath: '#'
showGoToTopActiveClass: 'evo-gototop-visible'
showGoToTop: 'top'
spacebeforeElement: '200'
mobileFinish: '0'
mibileSpacebeforeElement: '.goto'
})
});
</script>For more detailed instruction please visit https://webfullset.com/wfsgoto/
👉 The full documentation can be found at https://webfullset.com
License
Licensed under the MIT License for compatible open source projects and non-commercial use.
Copyright 2024 WebFullSet
