Blazorise Link API
Explore the Blazorise Link API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Link documentation.
API
Parameters
| Parameter | Description | Type | Default |
|---|---|---|---|
AriaLabelledBy |
Specifies the aria-labelledby attribute value. |
string | |
ChildContent |
Specifies the content to be rendered inside this Link. |
RenderFragment | null |
Disabled |
Makes the link look inactive by adding the disabled boolean attribute. |
bool | false |
Match |
URL matching behavior for a link. Possible values: |
Match | Match.Prefix |
Role |
Specifies the role attribute value. |
string | |
Stretched |
Makes any HTML element or component clickable by “stretching” a nested link. |
bool | false |
TabIndex |
Specifies whether the link element can be focused and where it participates in sequential keyboard navigation. |
int? | null |
Target |
The target attribute specifies where to open the linked document. |
Target | Target.Default |
Title |
Specify extra information about the element. |
string | |
To |
Denotes the target route of the link. |
string | |
Unstyled |
Removes default color styles from the link. |
bool | false |
Events
| Event | Description | Type |
|---|---|---|
Clicked |
Notifies when the link is clicked. |
EventCallback<MouseEventArgs> |
CustomMatch |
A callback function that is used to compare current uri with the user defined uri. If defined, the Match parameter will be ignored. |
Func<string, bool> |
KeyDown |
Handles the onkeydown event. |
EventCallback<KeyboardEventArgs> |