Table of Contents

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 string

The type of the event.

bubbles bool

If the event is bubbling.

cancelable bool

If the event is cancelable.

track object

The track object.

Properties

Track

Gets the assigned track object, if any.

[DomName("track")]
public object? Track { get; }

Property Value

object

Methods

Init(string, bool, bool, object?)

Initializes the mouse event.

[DomName("initTrackEvent")]
public void Init(string type, bool bubbles, bool cancelable, object? track)

Parameters

type string

The type of event.

bubbles bool

Determines if the event bubbles.

cancelable bool

Determines if the event is cancelable.

track object

The track object.