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

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