<button-back>
Element to go to the previous page
This element doesn't work like window.history.back()
but compute a link from the given URL to go to the previous folder (or slash in the URL)
Install
Install with Yarn
Using Yarn
$ yarn add button-back
Install with NPM
Simple install
$ npm install button-back --save
Manual install
First, make sure you have Bower and Polymer CLI installed
$ npm install button-back --no-optional --save
Install with Bower
First, make sure you have Bower and Polymer CLI installed
$ bower install button-back --save
$ npm run-script analyze
Usage
<button-back>
need route
provided by <app-location>
or <app-route>
to be notified when the route is modified
<app-location
route="{{route}}"
use-hash-as-path
></app-location>
<button-back
route="{{route}}"
use-hash-as-path
></button-back>
License
MIT Licence