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