urlFor

fun <R : Any> DomposableRouteCodec<R>.urlFor(route: R, urls: DomposableBrowserUrls = DomposableBrowserUrls.Hash): String

Generates an anchor URL using the same rules as the HTML/Wasm history binding.