layout: default title: FocusEvent parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Events
FocusEvent Class
Fires when browser focus is on the view.
public class FocusEvent : dymaptic.GeoBlazor.Core.Events.JsEvent,
System.IEquatable<dymaptic.GeoBlazor.Core.Events.FocusEvent>
Inheritance System.Object 🡒 JsEvent 🡒 FocusEvent
Implements System.IEquatable<FocusEvent>
Constructors
FocusEvent(MapView, DomPointerEvent, string, double, Nullable) Constructor
Fires when browser focus is on the view.
public FocusEvent(dymaptic.GeoBlazor.Core.Components.Views.MapView Target, dymaptic.GeoBlazor.Core.Events.DomPointerEvent Native, string Type, double Timestamp, System.Nullable<bool> Cancelable);
Parameters
Target
MapView
The view that the browser focus is currently on.
Native
DomPointerEvent
A standard DOM Pointer Event
Type
System.String
The event type.
Timestamp
System.Double
Time stamp (in milliseconds) at which the event was emitted.
Cancelable
System.Nullable<System.Boolean>
Whether the event can be cancelled once begun.
Properties
FocusEvent.Target Property
The view that the browser focus is currently on.
public dymaptic.GeoBlazor.Core.Components.Views.MapView Target { get; set; }