LinkDirectiveOptions
Properties
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.