aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/documentorshadowroot/getselection/index.html
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:36:08 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:36:08 +0100
commit39f2114f9797eb51994966c6bb8ff1814c9a4da8 (patch)
tree66dbd9c921f56e440f8816ed29ac23682a1ac4ef /files/fr/web/api/documentorshadowroot/getselection/index.html
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.tar.gz
translated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.tar.bz2
translated-content-39f2114f9797eb51994966c6bb8ff1814c9a4da8.zip
unslug fr: move
Diffstat (limited to 'files/fr/web/api/documentorshadowroot/getselection/index.html')
-rw-r--r--files/fr/web/api/documentorshadowroot/getselection/index.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/files/fr/web/api/documentorshadowroot/getselection/index.html b/files/fr/web/api/documentorshadowroot/getselection/index.html
new file mode 100644
index 0000000000..9352399ada
--- /dev/null
+++ b/files/fr/web/api/documentorshadowroot/getselection/index.html
@@ -0,0 +1,15 @@
+---
+title: document.getSelection
+slug: Web/API/Document/getSelection
+tags:
+ - API
+ - DOM
+ - Méthodes
+ - Reference
+ - Selection
+translation_of: Web/API/DocumentOrShadowRoot/getSelection
+translation_of_original: Web/API/Document/getSelection
+---
+<p>{{APIRef("DOM")}}</p>
+
+<p><span id="result_box" lang="fr"><span>Cette méthode fonctionne de manière identique à la méthode {{domxref ("Window.getSelection()")}} ;</span> elle<span> renvoie un objet {{domxref ("Selection")}} représentant le texte actuellement sélectionné dans le document.</span></span></p>