Confirmed users
19
edits
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
=== Use cases === | === Use cases === | ||
== Conformance == | == Conformance == | ||
== Terminology == | == Terminology == | ||
== Security and privacy considerations == | == Security and privacy considerations == | ||
== Magnetic Field == | == Magnetic Field == | ||
=== Attributes === | === Attributes === | ||
=== DeviceMagneticFieldEvent Interface === | === DeviceMagneticFieldEvent Interface === | ||
[Constructor (DOMString type, optional DeviceMagneticFieldEventInit eventInitDict)] | [Constructor (DOMString type, optional DeviceMagneticFieldEventInit eventInitDict)] | ||
interface DeviceMagneticFieldEvent : Event { | interface DeviceMagneticFieldEvent : Event { | ||
readonly attribute double x; | |||
readonly attribute double y; | |||
readonly attribute double z; | |||
}; | }; | ||
dictionary DeviceMagneticFieldEventInit : EventInit { | dictionary DeviceMagneticFieldEventInit : EventInit { | ||
double x; | |||
double y; | |||
double z; | |||
}; | }; | ||
==== Attributes ==== | ==== Attributes ==== | ||
x of type double, readonly | '''x''' of type double, readonly | ||
Ambient magnetic field in the X axis. | :Ambient magnetic field in the X axis. | ||
y of type double, readonly | '''y''' of type double, readonly | ||
Ambient magnetic field in the Y axis. | :Ambient magnetic field in the Y axis. | ||
z of type double, readonly | '''z''' of type double, readonly | ||
Ambient magnetic field in the Z axis. | :Ambient magnetic field in the Z axis. | ||
==== Dictionary DeviceMagneticFieldEventInit Members ==== | ==== Dictionary DeviceMagneticFieldEventInit Members ==== | ||
x of type double | '''x''' of type double | ||
y of type double | '''y''' of type double | ||
z of type double | '''z''' of type double | ||
==== Event handlers ==== | ==== Event handlers ==== | ||
== References == | == References == | ||