RouteInfo

Properties

Link copied to clipboard

Params extracted either from the URL's dynamic route

Link copied to clipboard

The post-hash fragment of a URL, if specified.

Link copied to clipboard

The origin of the current page.

Link copied to clipboard

Params extracted either from the URL's query parameters OR from a dynamic route

Link copied to clipboard

The current route path.

Link copied to clipboard

The full path of the current route, including any query parameters and fragment.

Link copied to clipboard

The query parameters of a URL, if any.

Link copied to clipboard

The slug for the current page.

Functions

Link copied to clipboard
fun copy(path: String = route.path, queryParams: Map<String, String> = route.queryParams, fragment: String? = route.fragment, dynamicParams: Map<String, String> = this.dynamicParams): PageContext.RouteInfo
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String