Class TextUpdateEvent
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalTextUpdateEvent interface is a DOM event that represents a text or selection update in an editable text region that's attached to an EditContext instance.
[Value("TextUpdateEvent")]
public class TextUpdateEvent : Event
- Inheritance
-
TextUpdateEvent
- Inherited Members
Remarks
This interface inherits properties from Event.
Constructors
TextUpdateEvent()
public TextUpdateEvent()
TextUpdateEvent(string, TextUpdateEventInit)
public TextUpdateEvent(string type, TextUpdateEventInit options = null)
Parameters
typestringoptionsTextUpdateEventInit
Remarks
-The TextUpdateEvent interface it belongs to.
Properties
SelectionEnd
NOTE
ExperimentalTextUpdateEvent.selectionEnd read-only property indicates the position of the end of the selection (or caret) within the text content of the editable region attached to the EditContext object.
[Value("selectionEnd")]
public ulong SelectionEnd { get; }
Property Value
Remarks
SelectionStart
NOTE
ExperimentalTextUpdateEvent.selectionStart read-only property indicates the position of the start of the selection (or caret) within the text content of the editable region attached to the EditContext object.
[Value("selectionStart")]
public ulong SelectionStart { get; }
Property Value
Remarks
Text
NOTE
ExperimentalTextUpdateEvent.text read-only property contains the text that was inserted within the updated range of a EditContext's textupdate event.
[Value("text")]
public string Text { get; }
Property Value
- string
A {{jsxref("String")}} that contains the text that replaces the text contained between the TextUpdateEventupdateRangeStart and TextUpdateEventupdateRangeEnd indexes.
Remarks
UpdateRangeEnd
NOTE
ExperimentalTextUpdateEvent.updateRangeEnd read-only property indicates the end position of the text range that is being replaced in the EditContext object.
[Value("updateRangeEnd")]
public ulong UpdateRangeEnd { get; }
Property Value
Remarks
UpdateRangeStart
NOTE
ExperimentalTextUpdateEvent.updateRangeStart read-only property indicates the start position of the text range that is being replaced in the EditContext object.
[Value("updateRangeStart")]
public ulong UpdateRangeStart { get; }