onepager.js

1.0.0 • Public • Published

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

/onepager.js/

    Package Sidebar

    Install

    npm i onepager.js

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    76.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • ofski