Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Comment

Since 0.1.0-alpha.24
Shows a comment in a discussion, with who wrote it, when, and replies nested under it.

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

Properties (12)

Authorstring?Added in 0.1.0-alpha.24

Who wrote it. Names the comment for screen readers.

Avatarstring?Added in 0.1.0-alpha.24

The address of the author's picture.

Initialsstring?Added in 0.1.0-alpha.24

The avatar's letters, in place of the author's initials. With no Author, they alone show the avatar (a reply form's "you").

TimeDateTimeOffset?Added in 0.1.0-alpha.24

When it was written, shown after the author: the date and time, or how long ago with RelativeTime. The date is in the value's own offset, so give it in the reader's (the server can't know their time zone).

RelativeTimebool = falseAdded in 0.1.0-alpha.24

Shows Time as how long ago ("5 minutes ago", "3 days ago"), with the full date on hover, as a RelativeTime that stays current as the page stays open. Comments older than a week show their date.

TimeTextstring?Added in 0.1.0-alpha.24

Time as your app writes it, such as "Nov 14 · 12:10 PM", in place of the culture's short date and time. Time still gives the machine-readable value.

ExtraRenderFragment?Added in 0.1.0-alpha.24

More on the author's line, after the time: a Badge such as "Author" or "Moderator", the word "Edited", or a Menu of what you can do with it.

Textstring?Added in 0.1.0-alpha.24

The comment as plain text, its line breaks kept.

ChildContentRenderFragment?Added in 0.1.0-alpha.24

The comment as anything else: formatted text, an image, or a reply form. Wins over Text.

ActionsRenderFragment?Added in 0.1.0-alpha.24

A row under the comment for things to do with it, such as Reply and Like buttons.

RepliesRenderFragment?Added in 0.1.0-alpha.24

Replies: more Comments, nested inside this one and stepped in, and a link to load more.

HeadingLevelint = 3Added in 0.1.0-alpha.24

The author's heading level, 2 to 6. Replies use the same level.

Events (0)

No events.

Connection lost

Rejoining the server…