InputEventInit Class
https://w3c.github.io/uievents/#dictdef-inputeventinit
public sealed class InputEventInit : UIEventInit- Inheritance
UIEventInitInputEventInit
Constructors
| Name | Description |
|---|---|
| InputEventInit() |
InputEventInit()
UIEvents.cspublic InputEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Data | Gets the inserted characters, or null when the input does not insert text. |
| DataTransfer | Gets the data of a paste or of a drop in editable content (rich text), or null. |
| InputType | Gets the type of the change, such as insertText or deleteContentBackward. |
| IsComposing | Gets a value indicating whether the event is part of a composition session. |
| TargetRanges | Gets the ranges that the editing operation affects. |
Data
UIEvents.csGets the inserted characters, or null when the input does not insert text.
public string? Data { get; init; }DataTransfer
UIEvents.csGets the data of a paste or of a drop in editable content (rich text), or null.
public DataTransfer? DataTransfer { get; init; }Property value
See also
InputType
UIEvents.csGets the type of the change, such as insertText or deleteContentBackward.
public string InputType { get; init; }IsComposing
UIEvents.csGets a value indicating whether the event is part of a composition session.
public bool IsComposing { get; init; }TargetRanges
UIEvents.csGets the ranges that the editing operation affects.
public IReadOnlyList<StaticRange> TargetRanges { get; init; }