Device orientation documentation

I’ve just finished writing the documentation for the new device orientation support added in Gecko 1.9.2 (Firefox 3.6).  For starters, DOM windows can now receive MozOrientation events.

There are several new interfaces, as well:

I’ve asked for feedback and technical review from dougt among others, so it’s possible this material could change as I receive corrections, but based on my reviews of code, samples, and existing material, this should be fairly accurate.

This is going to be a very cool technology. Obviously it’s especially useful for mobile users, but laptop users may get some use out of it as well. It has a lot of potential both for user experience improvements (such as rotating the user interface based on the orientation of a mobile device) and for web gaming.

6 Responses to “Device orientation documentation”

  1. new device API for Firefox 3.6: orientation at hacks.mozilla.org says:

    [...] can find more information on two posts by Doug Turner and an update on documentation for orientation from Eric [...]

  2. Firefox supportera CSS Transitions et l’API d’orientation | traffic-internet.net says:

    [...] quant à lui s’effectue via une API JavaScript et sera disponible dans Firefox 3.6. La documentation spécifie des événements intervenant sur le DOM à gérer à l’aide de la fonction [...]

  3. Gestiona la orientación con la nueva API de Firefox 3.6 | aNieto2K says:

    [...] Todo relacionado con las demás opciones de las que podremos disponer relacionadas al movimiento del dispositivo. [...]

  4. Gestiona la orientación con la nueva API de Firefox 3.6 : Blogografia says:

    [...] Todo relacionado con las demás opciones de las que podremos disponer relacionadas al movimiento del dispositivo. [...]

  5. Firefox 3.6 | 77even v1.0 says:

    [...] ?????????? ? ???????????? ?? [...]

  6. The Techno Ville » Blog Archive » ?? ??? ?? ?????? says:

    [...] can find more information on two posts by Doug Turner and an update on documentation for orientation from Eric Sheph (No Ratings Yet)  Loading [...]

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>