ActiveOptions

external interface ActiveOptions(source)

Guide

Properties

Link copied to clipboard
abstract external val exact: Boolean?

If true, the link will be active if the current route matches the to route path exactly (no children routes)

Link copied to clipboard
abstract external val explicitUndefined: Boolean?

This modifies the includeSearch behavior. If true, properties in search that are explicitly undefined must NOT be present in the current URL search params for the link to be active.

Link copied to clipboard
abstract external val includeHash: Boolean?

If true, the link will only be active if the current URL hash matches the hash prop

Link copied to clipboard
abstract external val includeSearch: Boolean?

If true, the link will only be active if the current URL search params inclusively match the search prop