Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

MentionText

Since 0.1.0-alpha.24
Shows text written in a Mentions field, with each @name marked or linked.

IzzyBlazor.MentionText in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (3)

Textstring? requiredAdded in 0.1.0-alpha.24

The text to show.

PrefixesIReadOnlyList<string>? = @Added in 0.1.0-alpha.24

The characters that start a mention. Defaults to @.

HrefFunc<Mention, string?>?Added in 0.1.0-alpha.24

Where a mention links to, such as the person's profile; null for no link.

Events (0)

No events.

Types (1)

Mention

struct

One mention in text, such as @ana in "Thanks @ana!": the trigger it starts with, the name after it, and where it starts. Parse finds them, as Mentions<T> writes them and MentionText shows them.

Mention members
MemberDescription
Prefix string

The trigger, such as @ or #.

Text string

The name after the trigger, such as ana.

Index int = 0

Where the trigger starts in the text.

Length int

How long the mention is in the text, trigger and name.

Connection lost

Rejoining the server…