1.0.0 • Published 5 years ago

onepager.js v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

onepager.js

Onepager.js will turn your markup into a onepage scrollable application with a dynamic navigation, API, callbacks and a mobile version. It's written in pure JS (es6) so you will have to compile it if you worry about older browsers. It has 2 dependencies:

Install & usage

from the terminal

npm install onepager.js

in your js

import OnePager from 'onepager.js'
const yourInstance = new OnePager()
import './node_modules/onepager.js/dist/css/onepager.min.css' // or import it in your css

Full Documentation

HERE