RouterHistory

external interface RouterHistory(source)

Properties

Link copied to clipboard
abstract external val _ignoreSubscribers: Boolean?
Link copied to clipboard
abstract external val length: Int
Link copied to clipboard
abstract external val location: HistoryLocation
Link copied to clipboard
abstract external val subscribers: ReadonlySet<(opts: SubscriberArgs) -> Unit>

Functions

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