Table of Contents

Class TextEditorChangeEventArgs

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

Describes the content of a TwTextEditor after it changed, passed to its OnTextChange callback.

[ExcludeFromCodeCoverage]
public sealed class TextEditorChangeEventArgs
Inheritance
TextEditorChangeEventArgs
Inherited Members

Constructors

TextEditorChangeEventArgs()

public TextEditorChangeEventArgs()

Properties

Html

Gets the content as sanitized HTML, or an empty string when the editor holds no text.

public required string Html { get; init; }

Property Value

string

Length

Gets the number of characters in Text, not counting line breaks.

public required int Length { get; init; }

Property Value

int

Text

Gets the content as plain text, with a line break between paragraphs.

public required string Text { get; init; }

Property Value

string