[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

api[www,ALE] code

DOMEvent
	subclass: #ALEEvent
	instanceVariableNames: ''
	category: #ALE!
ALEEvent comment: '
	Ambient Light Events.
	Defines a means to receive events that correspond to a light sensor detecting the presence of a light.
	aLight? why not other thing?

	http://www.w3.org/TR/ambient-light/
	http://dougturner.wordpress.com/2012/03/26/device-light-sensor/

	@2012 Alejandro Reimondo [email protected]
'!
ALEEvent
	subclass: #DeviceLightEvent
	instanceVariableNames: ''
	category: #ALE!
ALEEvent
	subclass: #LightLevelEvent
	instanceVariableNames: ''
	category: #ALE!
ALEEvent
	subclass: #DeviceProximityEvent
	instanceVariableNames: ''
	category: #ALE!

BrowserWindow buildAccessors: #(
	ondevicelight onlightlevel
	deviceproximity
)!

ALEEvent buildGetter: #value!
DeviceProximityEvent buildGetters: #( min max )!