RouterHistory

external interface RouterHistory(source)

Properties

Link copied to clipboard
Link copied to clipboard
abstract val length: Int
Link copied to clipboard
Link copied to clipboard
abstract val subscribers: ReadonlySet<(opts: SubscriberArgs) -> Unit>

Functions

Link copied to clipboard
abstract fun back(navigateOpts: NavigateOptions = definedExternally)
Link copied to clipboard
abstract fun block(blocker: NavigationBlocker): () -> Unit
Link copied to clipboard
abstract fun canGoBack(): Boolean
Link copied to clipboard
abstract fun createHref(href: String): String
Link copied to clipboard
abstract fun destroy()
Link copied to clipboard
abstract fun flush()
Link copied to clipboard
abstract fun forward(navigateOpts: NavigateOptions = definedExternally)
Link copied to clipboard
abstract fun go(index: Int, navigateOpts: NavigateOptions = definedExternally)
Link copied to clipboard
abstract fun notify(action: SubscriberHistoryAction)
Link copied to clipboard
abstract fun push(path: String, state: Any? = definedExternally, navigateOpts: NavigateOptions = definedExternally)
Link copied to clipboard
abstract fun replace(path: String, state: Any? = definedExternally, navigateOpts: NavigateOptions = definedExternally)
Link copied to clipboard
abstract fun subscribe(cb: (opts: SubscriberArgs) -> Unit): () -> Unit