Magnetic Field Events: Difference between revisions

From MozillaWiki
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:
<h2> Introduction </h2>
== Introduction ==
<h3> Use cases </h3>
 
<h2> Conformance </h2>
=== Use cases ===
<h2> Terminology </h2>
 
<h2> Security and privacy considerations </h2>
== Conformance ==
<h2> Magnetic Field </h2>
 
<h3> Attributes </h3>
== Terminology ==
<h3> DeviceMagneticFieldEvent Interface </h3>
 
<h4> Attributes </h4>
== Security and privacy considerations ==
<h4> Dictionary DeviceMagneticFieldEventInit Members </h4>
 
<h4> Event handlers </h4>
== Magnetic Field ==
<h2> References </h2>
 
=== 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

Event handlers

References