W3C home > Mailing lists > Public > public-device-apis-log@w3.org > April 2017

Re: [ambient-light] AmbientLightSensor constructor cannot initialize illuminance

From: Mikhail Pozdnyakov via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Apr 2017 10:28:10 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-292502612-1491560888-sysbot+gh@w3.org>
@foolip what would be the use case for setting illuminance from the ctor? AFAIK it should just contain the latest AML sensor reading in `activated` state and be `null` in all the other states.

-- 
GitHub Notification of comment by pozdnyakov
Please view or discuss this issue at https://github.com/w3c/ambient-light/issues/24#issuecomment-292502612 using your GitHub account
Received on Friday, 7 April 2017 10:28:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 12:18:53 UTC