Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jooseppi12 committed May 6, 2024
1 parent 855f9b4 commit fbadba6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WebSharper.UI/Router.fs
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,7 @@ type RouterExtensions =
[<Extension; Inline>]
static member InstallHash(router, onParseError) =
Router.InstallHash onParseError router

[<Extension; Inline>]
static member LinkHash (router: Router<'T>, ep : 'T) =
"/#" + router.Link ep

0 comments on commit fbadba6

Please sign in to comment.