LinkDirectiveOptions
Properties
addBacklink?
ts
optional addBacklink: string;Adds a backlink to the element. The given string will be used as query parameter key, with the current path as value.
native?
ts
optional native: boolean;Skips preventing the default event on click and the custom event dispatching for the router. Instead, the native behavior of the element is preserved.
role?
ts
optional role: string;Customizes the ARIA role set on non-anchor elements. For anchors, the role is not set. All other elements get a role="link" by default. If you e.g. have a custom button component, you might want to set this to button instead.