https://github.com/bahrus/be-a-nav-link
https://github.com/bahrus/be-a-nav-link
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bahrus/be-a-nav-link
- Owner: bahrus
- License: mit
- Created: 2020-12-18T18:16:29.000Z (over 4 years ago)
- Default Branch: baseline
- Last Pushed: 2021-02-15T19:56:33.000Z (over 4 years ago)
- Last Synced: 2024-03-23T03:01:36.779Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# be-a-nav-link
Naming this component (which requires avoiding the npm spam filter among other obstacles) was not easy, and I'm not altogether pleased with the name.
This web component "upgrades" hyperlink tags so that rather than opening the url, it instead fires an event "route-changed", which the nav tag can, for example, be extended to handle.
Syntax:
```html
Statement for April 2019
Transactions for 10/1/2020 - 11/19/2020
```