From 641a75fbc5a15724440dce3fc41c92cb1ef23699 Mon Sep 17 00:00:00 2001 From: MDN Date: Wed, 28 Apr 2021 00:11:21 +0000 Subject: [CRON] sync translated content --- .../pt-br/web/api/window/ondevicelight/index.html | 99 ---------------------- 1 file changed, 99 deletions(-) delete mode 100644 files/pt-br/web/api/window/ondevicelight/index.html (limited to 'files/pt-br/web') diff --git a/files/pt-br/web/api/window/ondevicelight/index.html b/files/pt-br/web/api/window/ondevicelight/index.html deleted file mode 100644 index 005ef03903..0000000000 --- a/files/pt-br/web/api/window/ondevicelight/index.html +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: Window.ondevicelight -slug: Web/API/Window/ondevicelight -translation_of: Web/API/Window/ondevicelight ---- -
{{APIRef}}
- -

Especifica um event listener para receber eventos {{event("devicelight")}}. Esses eventos ocorrem quando um dispositivo com sensores de nível de luz detecta uma mudança na intensidade do nível de luz do ambiente.

- -

Sintaxe

- -
window.ondevicelight = funcRef
- -

Onde funcRef é a função a ser chamada quando o evento {{event("devicelight")}} ocorre. Estes eventos são do tipo {{domxref("DeviceLightEvent")}}.

- -

Especificações

- - - - - - - - - - - - - - - - -
SpecificaçãoStatusComment
{{SpecName('AmbientLight', '#event-handlers', 'Ambient Light Events')}}{{Spec2('AmbientLight')}}Initial definition
- -

Compatibilidade com os Navegadores

- -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatNo}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("22.0")}}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatNo}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoMobile("15.0")}}[1]{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -

[1] The {{event("devicelight")}} event is implemented and by preference enabled by default in Firefox Mobile for Android (15.0) and in Firefox OS (B2G). Starting with Gecko 22.0 {{geckoRelease("22.0")}}, a desktop implementation for Mac OS X is also available. Support for Windows 7 is in progress (see {{bug(754199)}}).

- -

Veja também

- - -- cgit v1.2.3-54-g00ecf