Ambient Light Sensor Polymer element.
<h1>Illuminance: [[illuminance]]lux</h1>
<p>๐ wave your hand across your light sensor</p>
<mad-lux></mad-lux>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your element locally.
$ polymer serve
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.