UiEvent
Represents the event args for any UI event.
using AngleSharp.Attributes;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom.Events
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
[DomName("UIEvent")]
public class UiEvent : Event
{
[DomName("view")]
public IWindow View { get; set; }
[DomName("detail")]
public int Detail { get; set; }
public UiEvent()
{
}
[System.Runtime.CompilerServices.NullableContext(1)]
[DomConstructor]
[DomInitDict(1, true)]
public UiEvent(string type, bool bubbles = false, bool cancelable = false, [System.Runtime.CompilerServices.Nullable(2)] IWindow view = null, int detail = 0)
{
Init(type, bubbles, cancelable, view, detail);
}
[System.Runtime.CompilerServices.NullableContext(1)]
[DomName("initUIEvent")]
public void Init(string type, bool bubbles, bool cancelable, [System.Runtime.CompilerServices.Nullable(2)] IWindow view, int detail)
{
Init(type, bubbles, cancelable);
View = view;
Detail = detail;
}
}
}