W3C home > Mailing lists > Public > public-device-apis-log@w3.org > January 2018

Re: [proximity] What's the initial value of near attribute?

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Jan 2018 13:04:03 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-357952984-1516107842-sysbot+gh@w3.org>
The [`near` attribute](https://w3c.github.io/proximity/#dom-proximitysensor-near) is a [nullable type](https://heycam.github.io/webidl/#es-nullable-type) and can be null.

To be consistent with the other Generic Sensor-based APIs, I think also this spec should default to null (and not to false as in the previous version that was not based on the Generic Sensor API).

-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/proximity/issues/29#issuecomment-357952984 using your GitHub account
Received on Tuesday, 16 January 2018 13:04:07 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:55 UTC