Request: Access to current URL from the Router component slot

This issue has been tracked since 2020-06-30.

Hello,

I noticed in this other issue that we are able to access the current URL location in the Route slot: #62

It would be nice if we can access it from the Router slot as well.

galvez wrote this answer on 2022-06-23

That's already possible.

<Route path="{path}" let:location>
  <Component location={location} />
</Route>
More Details About Repo
Owner Name EmilTholin
Repo Name svelte-routing
Full Name EmilTholin/svelte-routing
Language JavaScript
Created Date 2017-11-28
Updated Date 2022-12-03
Star Count 1711
Watcher Count 21
Fork Count 151
Issue Count 59

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date