DomposableRouteCodec

Functions

Link copied to clipboard
abstract fun decode(path: String): R?
Link copied to clipboard
abstract fun encode(route: R): String
Link copied to clipboard
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.