Class InputEvent
- Namespace
- AngleSharp.Html.Dom.Events
- Assembly
- AngleSharp.dll
Represents the event arguments for an input event.
[DomName("InputEvent")]
public class InputEvent : Event
- Inheritance
-
InputEvent
- Inherited Members
- Extension Methods
Constructors
InputEvent()
Creates a new event.
public InputEvent()
InputEvent(string, bool, bool, string?)
Creates a new event and initializes it.
[DomConstructor]
[DomInitDict(1, true)]
public InputEvent(string type, bool bubbles = false, bool cancelable = false, string? data = null)
Parameters
type
stringThe type of the event.
bubbles
boolIf the event is bubbling.
cancelable
boolIf the event is cancelable.
data
stringSets the data for the input event.
Properties
Data
Gets the data that has been entered.
[DomName("data")]
public string? Data { get; }
Property Value
Methods
Init(string, bool, bool, string)
Initializes the input event.
[DomName("initInputEvent")]
public void Init(string type, bool bubbles, bool cancelable, string data)