Compare Revisions

Responding to light conditions

Change Revisions

Revision 515325:

Revision 515325 by franciov on

Revision 515327:

Revision 515327 by franciov on

Title:
Responding to light conditions
Responding to light conditions
Slug:
Web/Apps/Developing/gather_and_modify_data/Responding_to_light_conditions
Web/Apps/Developing/gather_and_modify_data/Responding_to_light_conditions
Tags:
"API", "Firefox", "CSS", "Christmas", "Apps", "HTML", "Ambient Light"
"API", "Firefox", "CSS", "Christmas", "Apps", "HTML", "Ambient Light"
Content:

Revision 515325
Revision 515327
t222      Each JavaScript file represents a component that executes st222      Each JavaScript file represents a component that executes s
>pecific tasks in the application. The <code>AmbientLightManager</>pecific tasks in the application. The <code>AmbientLightManager</
>code> is the component that uses Ambient Light Events so the most>code> is the component that uses Ambient Light Events so the most
> interesting code for the purposes of this tutorial is inside <em> interesting code for the purposes of this tutorial is inside <em
>>AmbientLightManager.js</em>. However, in order to understand how>>AmbientLightManager.js</em>. However, in order to understand how
> the app works, we’ll briefly have a look at all the JavaScript f> the app works, we’ll briefly have a look at all the JavaScript f
>iles. Feel free to skip to the <a href="#The_AmbientLight_Manager>iles. Feel free to skip to <a href="/en-US/Apps/Developing/gather
>">Ambient LightManager</a> section if you are mainly interested i>_and_modify_data/Responding_to_light_conditions#The_AmbientLightM
>n the Ambient Light API.>anager">the Ambient LightManager section</a> if you are mainly in
 >terested in the Ambient Light API.

Back to History