CommentThread
FreeComments with replies, a box for a new comment and Reply and Delete commands. Text is shown as typed (line breaks kept, nothing is treated as HTML).
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
CanDelete | Func<CommentItem, bool> | |
Class | string | Extra CSS classes added to the root element. |
CurrentUser | string | |
Items | IEnumerable<CommentItem> | The options to choose from. |
Label | string | Visible label text (charts: accessible name; IconButton: accessible name and tooltip). |
MaxDepth | int | |
MaxLength | int | Largest number of characters allowed. |
ReadOnly | bool | Shows the value but does not allow changes. |
Style | string | Inline style added to the root element. |
Events
| Event | Type | Description |
|---|---|---|
OnDelete | EventCallback<CommentItem> | Shows a remove button and raises this event when it is clicked. |
OnPost | EventCallback<CommentPost> |
Package
CommentThread is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3