From 362ba6775c2337ed3dc91d5320f7e891c3c74f99 Mon Sep 17 00:00:00 2001 From: MDN Date: Sat, 13 Mar 2021 00:26:44 +0000 Subject: [CRON] sync translated content --- files/pt-br/web/api/document/getselection/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 files/pt-br/web/api/document/getselection/index.html (limited to 'files/pt-br/web/api/document/getselection') diff --git a/files/pt-br/web/api/document/getselection/index.html b/files/pt-br/web/api/document/getselection/index.html new file mode 100644 index 0000000000..24f7c5c180 --- /dev/null +++ b/files/pt-br/web/api/document/getselection/index.html @@ -0,0 +1,10 @@ +--- +title: Document.getSelection() +slug: Web/API/Document/getSelection +translation_of: Web/API/DocumentOrShadowRoot/getSelection +translation_of_original: Web/API/Document/getSelection +original_slug: Web/API/DocumentOrShadowRoot/getSelection +--- +

{{APIRef("DOM")}}

+ +

Esse método funciona de forma idêntica ao método {{domxref("Window.getSelection()")}};  Ele retorna um objeto {{domxref("Selection")}} representando o texto atualmente selecionado no documento.

-- cgit v1.2.3-54-g00ecf