layout: default title: JsEvent parent: Core Classes —

dymaptic.GeoBlazor.Core

dymaptic.GeoBlazor.Core.Events

JsEvent Class

Base class for many events triggered in Javascript.

public class JsEvent :
System.IEquatable<dymaptic.GeoBlazor.Core.Events.JsEvent>

Inheritance System.Object 🡒 JsEvent

Derived
BlurEvent
ClickEvent
DragEvent
FocusEvent
KeyDownEvent
KeyUpEvent
MouseWheelEvent
PointerEvent

Implements System.IEquatable<JsEvent>

Constructors

JsEvent(string, Nullable, Nullable, double, DomPointerEvent, Nullable) Constructor

Base class for many events triggered in Javascript.

public JsEvent(string Type, System.Nullable<int> EventId, System.Nullable<bool> Cancelable, double Timestamp, dymaptic.GeoBlazor.Core.Events.DomPointerEvent Native, System.Nullable<dymaptic.GeoBlazor.Core.Events.PointerType> PointerType);

Parameters

Type System.String

The type of the event.

EventId System.Nullable<System.Int32>

The unique Id of the event.

Cancelable System.Nullable<System.Boolean>

Whether the event can be cancelled once begun.

Timestamp System.Double

Time stamp (in milliseconds) at which the event was emitted.

Native DomPointerEvent

A standard DOM Pointer Event

PointerType System.Nullable<PointerType>

Indicates the pointer type. (optional)

Properties

JsEvent.Cancelable Property

Whether the event can be cancelled once begun.

public System.Nullable<bool> Cancelable { get; set; }

Property Value

System.Nullable<System.Boolean>

JsEvent.EventId Property

The unique Id of the event.

public System.Nullable<int> EventId { get; set; }

Property Value

System.Nullable<System.Int32>

JsEvent.Native Property

A standard DOM Pointer Event

public dymaptic.GeoBlazor.Core.Events.DomPointerEvent Native { get; set; }

Property Value

DomPointerEvent

JsEvent.PointerType Property

Indicates the pointer type. (optional)

public System.Nullable<dymaptic.GeoBlazor.Core.Events.PointerType> PointerType { get; set; }

Property Value

System.Nullable<PointerType>

JsEvent.Timestamp Property

Time stamp (in milliseconds) at which the event was emitted.

public double Timestamp { get; set; }

Property Value

System.Double

JsEvent.Type Property

The type of the event.

public string Type { get; set; }

Property Value

System.String