1.0.0 • Published 2 months ago
@buyerjourney/router v1.0.0
bj-router
Lightweight Router in vanilla javascript for the BuyerJourneyJS project.
Sponsors
Features
- Multiple routes with path and callback function.
- Single page application routing using hash.
- Parameters.
- Query strings.
- Set name on routes with setName(name) and retrieve the path with pathFor(name, parameters).
- Error 404: Callback function included.
- Error 404: Customizable Callback function.
Documentation
License
bj-router is GPL-3.0-or-later.
1.0.0
2 months ago