FocusEvent
Represents the arguments for a focus event.
using AngleSharp.Attributes;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom.Events
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
[DomName("FocusEvent")]
public class FocusEvent : UiEvent
{
[DomName("relatedTarget")]
public IEventTarget Target { get; set; }
public FocusEvent()
{
}
[DomConstructor]
[DomInitDict(1, true)]
public FocusEvent([System.Runtime.CompilerServices.Nullable(1)] string type, bool bubbles = false, bool cancelable = false, IWindow view = null, int detail = 0, IEventTarget target = null)
{
Init(type, bubbles, cancelable, view, detail, target);
}
[DomName("initFocusEvent")]
public void Init([System.Runtime.CompilerServices.Nullable(1)] string type, bool bubbles, bool cancelable, IWindow view, int detail, IEventTarget target)
{
Init(type, bubbles, cancelable, view, detail);
Target = target;
}
}
}