aboutsummaryrefslogtreecommitdiff
path: root/files/fr/conflicting
diff options
context:
space:
mode:
authorMDN <actions@users.noreply.github.com>2022-02-12 00:56:58 +0000
committerMDN <actions@users.noreply.github.com>2022-02-12 00:56:58 +0000
commit01f082cdc9c06afc6dfa7573345590ea9eec8714 (patch)
tree55430234aa4a832b625c7879916dffcd025c13f1 /files/fr/conflicting
parentbf9c159c4b69bafea62616ab67074da0e9e96f0a (diff)
downloadtranslated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.tar.gz
translated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.tar.bz2
translated-content-01f082cdc9c06afc6dfa7573345590ea9eec8714.zip
[CRON] sync translated content
Diffstat (limited to 'files/fr/conflicting')
-rw-r--r--files/fr/conflicting/web/api/document/fullscreenchange_event/index.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/files/fr/conflicting/web/api/document/fullscreenchange_event/index.md b/files/fr/conflicting/web/api/document/fullscreenchange_event/index.md
new file mode 100644
index 0000000000..221339f844
--- /dev/null
+++ b/files/fr/conflicting/web/api/document/fullscreenchange_event/index.md
@@ -0,0 +1,40 @@
+---
+title: Document.onfullscreenchange
+slug: conflicting/Web/API/Document/fullscreenchange_event
+translation_of: Web/API/Document/onfullscreenchange
+original_slug: 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")}}