3.0.2 • Published 4 years ago

@docomodigital/js-browser v3.0.2

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

js-browser

npm version

Provides you an alternative method to manage previous and current page changements.

Is particularly used to get query params as object and to get the previous page in order to implement an easy and basic history in your routing.

Usage

import { Browser } from 'js-browser';

// Get previous page
const prevPage = Browser.getPrevPage();

// Set browser new state
Browser.shiftPage('/home'); 

// Get query params in your url
const queryParams = Browser.getQueryParams();

Installation

NPM

npm install --save @docomodigital/js-browser

Documentation

To read documentation, go to:

http://docomodigital.github.io/js-utils/js-browser/latest

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago