Kind: global class


new PageNavigationHandler(window) 

Param Type Description
window Window The utility for manipulating the global context and global client-side-specific APIs.

The utility for manipulating the global context and global client-side-specific APIs.

Kind: instance property of PageNavigationHandler


Kind: instance method of PageNavigationHandler


Kind: instance method of PageNavigationHandler


Kind: instance method of PageNavigationHandler


Save user’s scroll state to history.

Replace scroll values in current state for actual scroll values in document.

Kind: instance method of PageNavigationHandler


Scrolls to give coordinates on a page.

Kind: instance method of PageNavigationHandler

Param Type
scroll Object
[scroll.x] number
[scroll.y] number

Sets the provided URL to the browser’s address bar by pushing a new state to the history.

The state object pushed to the history will be an object with the following structure: {url: string}. The url field will be set to the provided URL.

Kind: instance method of PageNavigationHandler

Param Type Description
url string The URL.