Re: Battery Status API vs. Geolocation API

Great, thanks for clarifying those points for me. This should be useful for
future APIs and maybe as an extension to the Geolocation API.

Andres Riofrio
<riofrios@gmail.com>


On Tue, Jun 7, 2011 at 10:55 PM, Anssi Kostiainen <
anssi.kostiainen@nokia.com> wrote:

> On 6.6.2011, at 16.08, ext Anssi Kostiainen wrote:
>
> > The event model allows registering listeners via addEventListener(),
> setting them via .onbatterystatus property, or by specifying
> onbatterystatus="..." attribute on the <window> tag in the HTML markup.
>
> What I meant to say above was onbatterystatus attribute on the <body> tag
> -- we're not planning to introduce a new tag for this purpose.
>
> -Anssi

Received on Sunday, 26 June 2011 00:55:19 UTC