CompositionEvent
Represents the event arguments for a composed event.
using AngleSharp.Attributes;
namespace AngleSharp.Dom.Events
{
[DomName("CompositionEvent")]
public class CompositionEvent : UiEvent
{
[DomName("data")]
public string Data { get; set; }
public CompositionEvent()
{
}
[DomConstructor]
[DomInitDict(1, true)]
public CompositionEvent(string type, bool bubbles = false, bool cancelable = false, IWindow view = null, string data = null)
{
Init(type, bubbles, cancelable, view, data ?? string.Empty);
}
[DomName("initCompositionEvent")]
public void Init(string type, bool bubbles, bool cancelable, IWindow view, string data)
{
Init(type, bubbles, cancelable, view, 0);
Data = data;
}
}
}