Table of Contents

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 string

The type of the event.

bubbles bool

If the event is bubbling.

cancelable bool

If the event is cancelable.

data string

Sets the data for the input event.

Properties

Data

Gets the data that has been entered.

[DomName("data")]
public string? Data { get; }

Property Value

string

Methods

Init(string, bool, bool, string)

Initializes the input event.

[DomName("initInputEvent")]
public void Init(string type, bool bubbles, bool cancelable, string data)

Parameters

type string

The type of event.

bubbles bool

Determines if the event bubbles.

cancelable bool

Determines if the event is cancelable.

data string

Sets the data for the input event.