Anchor
IzzyBlazor.Anchor in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (7)
Hrefstring requiredWhere it goes.
Externalbool = falseOpens in a new tab (target="_blank" rel="noopener noreferrer"), with an icon after the text.
HideExternalIconbool = falseLeaves out an external link's icon, for repeated links where it would be noise (a list of lessons, say). Screen readers still hear NewTabLabel.
UnderlineAnchorUnderline = AnchorUnderline.AlwaysWhen it's underlined. Defaults to AnchorUnderline.Always.
Inheritbool = falseUses the surrounding text color instead of the accent, still underlined, for links in muted text or on colored backgrounds.
NewTabLabelstring? = "(opens in a new tab)"Read to screen readers after an external link's text. Defaults to "(opens in a new tab)".
ChildContentRenderFragment?The link text.
Plus 16 item props and 4 common props.
Show them hereEvents (0)
No events.
Types (1)
AnchorUnderline
enumHow a Anchor is underlined.
| Value | Description |
|---|---|
Always | Always underlined (the default): clearest in running text. |
Hover | Underlined on hover, for links whose color and place already say "link". |
None | Never underlined. |