Skip to main content

Router

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
backback(delta: number): void
deleteOrigindeleteOrigin(): void
forwardforward(delta: number): void
getLinkComponentgetLinkComponent(props: LinkProps,ref: null | MutableRefObject<null | HTMLAnchorElement> | ): Element
getOrigingetOrigin():
hashundefined | null | ParsedQuery<string>
historyLocation[]
hrefundefined | null | string
i18nI18n
initinit(settings: AppSettings): void
listenlisten(callback: LocationChangeCallback): UnregisterCallback
locationLocation
paramsAnonymousObject<any>
pathnamenull | string
previousLocationLocation
pushpush(urlOrLocation: string | Location,options: RouterPushOptions): void
queryundefined | null | ParsedQuery<string>
replacereplace(urlOrLocation: string | Location,options: RouterPushOptions): void
saveOriginsaveOrigin(force: boolean): void
settingsAppSettings
stateundefined | null | AnonymousObject<any>
Additional properties for advanced use cases
PropertiesTypeDescription
routestring