SensorErrorEventInit Class

The initialization dictionary of a SensorErrorEvent (https://w3c.github.io/sensors/#dictdef-sensorerroreventinit).

public sealed class SensorErrorEventInit : EventInit
Inheritance
EventInit SensorErrorEventInit

Constructors

NameDescription
SensorErrorEventInit()

SensorErrorEventInit()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public SensorErrorEventInit()

No documentation is available.

Properties

NameDescription
ErrorGets the error.

Gets the error.

public required DomException Error { get; init; }