Class CompositionEvent
- Namespace
- AngleSharp.Html.Dom.Events
- Assembly
- AngleSharp.dll
Represents the event arguments for a composed event.
[DomName("CompositionEvent")]
public class CompositionEvent : UiEvent
- Inheritance
-
CompositionEvent
- Inherited Members
- Extension Methods
Constructors
CompositionEvent()
Creates a new event.
public CompositionEvent()
CompositionEvent(string, bool, bool, IWindow?, string?)
Creates a new event and initializes it.
[DomConstructor]
[DomInitDict(1, true)]
public CompositionEvent(string type, bool bubbles = false, bool cancelable = false, IWindow? view = null, string? data = null)
Parameters
type
stringThe type of the event.
bubbles
boolIf the event is bubbling.
cancelable
boolIf the event is cancelable.
view
IWindowSets the associated view for the UI event.
data
stringSets the data to carry.
Properties
Data
Gets the associated data.
[DomName("data")]
public string? Data { get; }
Property Value
Methods
Init(string, bool, bool, IWindow?, string)
Initializes the composition event.
[DomName("initCompositionEvent")]
public void Init(string type, bool bubbles, bool cancelable, IWindow? view, string data)