Socket
Book a DemoInstallSign in
Socket

onepager.js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onepager.js

A simple js script that will change your markup into a responsive one page application

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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:

  • in-view.js
  • smooth-scroll

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

Keywords

one

FAQs

Package last updated on 20 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.