LinkOptions
Properties
Configurable options to determine if the link should be considered active or not
If set to true, the router will scroll the element with an id matching the hash into view with default ScrollIntoViewOptions. If set to false, the router will not scroll the element with an id matching the hash into view. If set to ScrollIntoViewOptions, the router will scroll the element with an id matching the hash into view with the provided options.
If true, navigation will ignore any blockers that might prevent it.
When a preload strategy is set, this delays the preload by this many milliseconds. If the user exits the link before this delay, the preload will be cancelled.
When the preload strategy is set to intent, this controls the proximity of the link to the cursor before it is preloaded. If the user exits this proximity before this delay, the preload will be cancelled.
If true, navigation to a route inside of router will trigger a full page load instead of the traditional SPA navigation.
Defaults to true so that the scroll position will be reset to 0,0 after the location is committed to the browser history. If false, the scroll position will not be reset to 0,0 after the location is committed to history.
The standard anchor tag target attribute
If set to true, the router will wrap the resulting navigation in a document.startViewTransition() call. If ViewTransitionOptions, route navigations will be called using document.startViewTransition({update, types}) where types will be the strings array passed with ViewTransitionOptions["types"]. If the browser does not support viewTransition types, the navigation will fall back to normal document.startTransition(), same as if true was passed.