0.4.4 • Published 7 years ago
smooth-pages v0.4.4
Smooth Pages
Adds smooth transition between pages.
Usage
You should initialize smooth pages in head before all other scripts.
NPM
Installation
npm install --save smooth-pages
Initialization
var smoothPages = require('smooth-pages');
smoothPages.init({overlayColor: '#fff'});
Browser globals
<script src="/build/smooth-pages.min.js"></script>
<script>
SmoothPages.init({overlayColor: '#fff'});
</script>