27th Mar 2019, 2:35 PM
B.D
B.D - avatar
2 Respuestas
+ 6
This feature is not supported in most of the browsers and also your code contains ERRORS. Remove '});' from 7, 11, 15 line and add it to line 19. See browser compatibility table here: https://developer.mozilla.org/en-US/docs/Web/API/DeviceLightEvent
27th Mar 2019, 2:51 PM
VEDANG
VEDANG - avatar
+ 1
still not working! please look into
28th Mar 2019, 3:57 PM
B.D
B.D - avatar