aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/document/hidden/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/document/hidden/index.html')
-rw-r--r--files/ko/web/api/document/hidden/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/files/ko/web/api/document/hidden/index.html b/files/ko/web/api/document/hidden/index.html
new file mode 100644
index 0000000000..13c6f0a5da
--- /dev/null
+++ b/files/ko/web/api/document/hidden/index.html
@@ -0,0 +1,26 @@
+---
+title: Document.hidden
+slug: Web/API/Document/hidden
+tags:
+ - API
+ - Document
+ - Property
+ - Reference
+translation_of: Web/API/Document/hidden
+---
+<div>{{ ApiRef("DOM") }}</div>
+
+<p><code><strong>Document.hidden</strong></code> 읽기 전용 속성은 페이지가 숨겨졌는지 여부를 {{jsxref("Boolean")}} 값으로 나타냅니다.</p>
+
+<h2 id="예제">예제</h2>
+
+<pre class="brush:js;">document.addEventListener("visibilitychange", function() {
+ console.log(document.hidden);
+ // 숨김 여부가 변했을 때의 행동
+});</pre>
+
+<h2 id="명세">명세</h2>
+
+
+
+<p>{{Compat("api.Document.hidden")}}</p>