aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/document/hidden/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/web/api/document/hidden/index.html')
-rw-r--r--files/es/web/api/document/hidden/index.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/files/es/web/api/document/hidden/index.html b/files/es/web/api/document/hidden/index.html
new file mode 100644
index 0000000000..e90970233b
--- /dev/null
+++ b/files/es/web/api/document/hidden/index.html
@@ -0,0 +1,43 @@
+---
+title: Document.hidden
+slug: Web/API/Document/hidden
+translation_of: Web/API/Document/hidden
+---
+<p>{{ ApiRef("DOM") }}</p>
+
+<p>El  <code><strong>Document.hidden</strong></code> Es una propiedad solo de lectura, retorna un valor Booleano que indica si la pagina esta conciderada oculta o no.</p>
+
+<h2 id="Sintaxis">Sintaxis</h2>
+
+<pre class="syntaxbox">var <em>boolean</em> = document.hidden</pre>
+
+<h2 id="Ejemplo">Ejemplo</h2>
+
+<pre class="brush:js;">document.addEventListener("visibilitychange", function() {
+ console.log( document.hidden );
+ // Modify behavior...
+});
+</pre>
+
+<h2 id="Especificaciones">Especificaciones</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th>Especificacion</th>
+ <th>Estado</th>
+ <th>Comentario</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('Page Visibility API','#dom-document-hidden', 'Document.hidden')}}</td>
+ <td>{{Spec2('Page Visibility API')}}</td>
+ <td>definicion inicial</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Compatibilidad_con_Navegadores">Compatibilidad con Navegadores</h2>
+
+
+
+<p>{{Compat("api.Document.hidden")}}</p>