diff options
author | MDN <actions@users.noreply.github.com> | 2022-02-12 00:56:58 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2022-02-12 00:56:58 +0000 |
commit | 01f082cdc9c06afc6dfa7573345590ea9eec8714 (patch) | |
tree | 55430234aa4a832b625c7879916dffcd025c13f1 /files/fr/web/api | |
parent | bf9c159c4b69bafea62616ab67074da0e9e96f0a (diff) | |
download | translated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.tar.gz translated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.tar.bz2 translated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.zip |
[CRON] sync translated content
Diffstat (limited to 'files/fr/web/api')
-rw-r--r-- | files/fr/web/api/document/onfullscreenchange/index.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/files/fr/web/api/document/onfullscreenchange/index.md b/files/fr/web/api/document/onfullscreenchange/index.md deleted file mode 100644 index 61bd3e188d..0000000000 --- a/files/fr/web/api/document/onfullscreenchange/index.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: Document.onfullscreenchange -slug: Web/API/Document/onfullscreenchange -translation_of: Web/API/Document/onfullscreenchange ---- -{{ApiRef("Fullscreen API")}} - -La propriété **`Document.onfullscreenchange`** est un gestionnaire d'événement pour l'événement {{event("fullscreenchange")}} qui est lancé lorsque le document entre ou sort du mode plein écran. - -## Syntaxe - - targetDocument.onfullscreenchange = fullscreenChangeHandler; - -## Exemple - -```js -document.onfullscreenchange = function ( event ) { - console.log("FULL SCREEN CHANGE") -}; -document.documentElement.onclick = function () { - // requestFullscreen() doit être un gestionnaire d'événement, sinon ça échouera - document.documentElement.requestFullscreen(); -} -``` - -## Specifications - -| Specification | Status | Comment | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------------- | -| {{SpecName("Fullscreen", "#handler-document-onfullscreenchange", "onfullscreenchange")}} | {{Spec2("HTML WHATWG")}} | Initial definition. | - -## Compatibilité des navigateurs - -{{Compat("api.Document.onfullscreenchange")}} - -## Voir aussi - -- {{event("fullscreenchange")}} -- {{domxref("Document.onfullscreenerror")}} |