Routing

open class Routing(root: String? = null, useHash: Boolean = true, hash: String = "#")

A helper class for Navigo JavaScript router.

Parameters

root

the root path of the application

useHash

whether to use hash based routing

hash

a string used as a hash marker

Constructors

Link copied to clipboard
constructor(root: String? = null, useHash: Boolean = true, hash: String = "#")

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun kvDestroy()
Link copied to clipboard
open fun kvNavigate(route: String)
Link copied to clipboard
open fun kvOff(handler: (Any) -> Unit)
Link copied to clipboard
open fun kvOn(route: String, handler: (Any) -> Unit): <Error class: unknown class>
Link copied to clipboard
open fun kvResolve()