Class TrackEvent
- Namespace
- AngleSharp.Html.Dom.Events
- Assembly
- AngleSharp.dll
Represents a track that provides an additional track information.
[DomName("TrackEvent")]
public class TrackEvent : Event
- Inheritance
-
TrackEvent
- Inherited Members
- Extension Methods
Constructors
TrackEvent()
Creates a new event.
public TrackEvent()
TrackEvent(string, bool, bool, object?)
Creates a new event and initializes it.
[DomConstructor]
[DomInitDict(1, true)]
public TrackEvent(string type, bool bubbles = false, bool cancelable = false, object? track = null)
Parameters
type
stringThe type of the event.
bubbles
boolIf the event is bubbling.
cancelable
boolIf the event is cancelable.
track
objectThe track object.
Properties
Track
Gets the assigned track object, if any.
[DomName("track")]
public object? Track { get; }
Property Value
Methods
Init(string, bool, bool, object?)
Initializes the mouse event.
[DomName("initTrackEvent")]
public void Init(string type, bool bubbles, bool cancelable, object? track)