useLinkClickHandler
useLinkClickHandler<E>(to: To,__namedParameters: ):
Handles the click behavior for router <Link> components. This is useful if
you need to create custom <Link> components with the same click behavior we
use in our exported <Link>.
Properties
(Mandatory properties are in bold)| Properties | Type | Description |
|---|---|---|
| to | To |
Additional properties for advanced use cases
| Properties | Type | Description |
|---|---|---|
| preventScrollReset | boolean | |
| relative | RelativeRoutingType | |
| replace | boolean | |
| state | any | |
| target | HTMLAttributeAnchorTarget |