1.0.5 • Published 4 years ago

gpii-location-bar-relay v1.0.5

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
4 years ago

gpii-location-bar-relay

This is a Fluid component that relays changes between a component's model and both the browser state and location bar. This makes your model state "bookmarkable", and makes it so that users can navigate back and forth through any changes they have made using the browser's back and forward buttons.

It can be used with any component that is served up via a web server. Although you can write static files that use this component, it will not work with Chrome because of their unique security restrictions around file URLs.

For usage details, check out the documentation.

Tests

To run the tests in this package, you will need to have Chrome and chromedriver installed. Once you have both those, the command npm test will run the tests and generate a coverage report.

Because of the need for forward and backward navigation, the tests in this package use gpii-webdriver, which is based on the WebDriver API. At time of writing, there is a bug that prevents Firefox from being used with this package.