aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/documentorshadowroot/getselection
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/documentorshadowroot/getselection')
-rw-r--r--files/ko/web/api/documentorshadowroot/getselection/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/files/ko/web/api/documentorshadowroot/getselection/index.html b/files/ko/web/api/documentorshadowroot/getselection/index.html
new file mode 100644
index 0000000000..c4d219fbde
--- /dev/null
+++ b/files/ko/web/api/documentorshadowroot/getselection/index.html
@@ -0,0 +1,9 @@
+---
+title: Document.getSelection()
+slug: Web/API/Document/getSelection
+translation_of: Web/API/DocumentOrShadowRoot/getSelection
+translation_of_original: Web/API/Document/getSelection
+---
+<p>{{APIRef("DOM")}}</p>
+
+<p>이 메소드는 {{domxref("Window.getSelection()")}} 와 동일합니다. 이 메소드는 {{domxref("Selection")}} 형의 객체를 반환하는데, 이 객체는 현재 페이지에서 선택된 영역의 정보를 반영합니다.</p>