Parrot icon indicating copy to clipboard operation
Parrot copied to clipboard

Accessing the section of the route

Open mozfet opened this issue 5 years ago • 0 comments

There is a clear API for setting and getting route parameters, however, I do not see a way to reactively obtain the section of the route...

This is handy for example when I have a navbar and I want to tell it which section is being viewed in order to highlight that menu item. This is possible also with parameters, but results in duplicate information, and URLS like:

http://test.com/#home/currentPage=home

mozfet avatar Jun 10 '19 10:06 mozfet