router icon indicating copy to clipboard operation
router copied to clipboard

NavigationView integration

Open MaxDesiatov opened this issue 5 years ago • 2 comments
trafficstars

I'm not sure how this would work yet, but it would be great if the router either supported the native NavigationView and NavigationLink types or introduced new RoutableNavigation and RoutableLink (names to bikeshed) types that behaved in a similar way with support for NavigationView layout and transitions. Maybe it is supported already? I haven't had a chance to explore the source code yet, feel free to close this then.

MaxDesiatov avatar Aug 24 '20 08:08 MaxDesiatov

Yeah that'd be nice. It would probably need to use the isActive binding on NavigationLink to activate the routes.

carson-katri avatar Aug 24 '20 12:08 carson-katri

Ok, so I've got it somewhat working with 1a896c5.

That added a new routerLinkStyle modifier and RouterLinkStyle type. There are ButtonRouterLinkStyle, LinkButtonRouterLinkStyle, and NavigationLinkRouterLinkStyle.

carson-katri avatar Aug 25 '20 02:08 carson-katri