Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 460 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 460 Bytes

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>