Magnetic Field Events: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<h2> Introduction </h2> <h3> Use cases </h3> <h2> Conformance </h2> <h2> Terminology </h2> <h2> Security and privacy considerations </h2> <h2> Magnetic Field </h2> <h3> Attribute...") |
No edit summary |
||
| Line 1: | Line 1: | ||
== Introduction == | |||
=== Use cases === | |||
== Conformance == | |||
== Terminology == | |||
== Security and privacy considerations == | |||
== Magnetic Field == | |||
=== Attributes === | |||
=== DeviceMagneticFieldEvent Interface === | |||
[Constructor (DOMString type, optional DeviceMagneticFieldEventInit eventInitDict)] | |||
interface DeviceMagneticFieldEvent : Event { | |||
readonly attribute double x; | |||
readonly attribute double y; | |||
readonly attribute double z; | |||
}; | |||
dictionary DeviceMagneticFieldEventInit : EventInit { | |||
double x; | |||
double y; | |||
double z; | |||
}; | |||
==== Attributes ==== | |||
x of type double, readonly | |||
Ambient magnetic field in the X axis. | |||
y of type double, readonly | |||
Ambient magnetic field in the Y axis. | |||
z of type double, readonly | |||
Ambient magnetic field in the Z axis. | |||
==== Dictionary DeviceMagneticFieldEventInit Members ==== | |||
x of type double | |||
y of type double | |||
z of type double | |||
==== Event handlers ==== | |||
== References == | |||
Revision as of 10:18, 21 November 2012
Introduction
Use cases
Conformance
Terminology
Security and privacy considerations
Magnetic Field
Attributes
DeviceMagneticFieldEvent Interface
[Constructor (DOMString type, optional DeviceMagneticFieldEventInit eventInitDict)]
interface DeviceMagneticFieldEvent : Event {
readonly attribute double x;
readonly attribute double y;
readonly attribute double z;
};
dictionary DeviceMagneticFieldEventInit : EventInit {
double x;
double y;
double z;
};
Attributes
x of type double, readonly
Ambient magnetic field in the X axis.
y of type double, readonly
Ambient magnetic field in the Y axis.
z of type double, readonly
Ambient magnetic field in the Z axis.
Dictionary DeviceMagneticFieldEventInit Members
x of type double
y of type double
z of type double