1.0.3 • Published 3 years ago
remember-location v1.0.3
Description
A simple tool to help your website remember the location/offset from where the user leaves your website. When the user revisit your website, the page will be relocated to the preview location.
Guide
It is very easy to adopt it in your website.
First, get it installed in your repo :rocket:~
npm install remember-location
Then, use it like a breeze~
// For ES Module
import RememberLocation from 'remember-location';
// or for node.js
const RememberLocation = require('remember-location');
new RememberLocation();