aboutsummaryrefslogtreecommitdiff
path: root/files/pt-br/web/api/window/domcontentloaded_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-br/web/api/window/domcontentloaded_event/index.html')
-rw-r--r--files/pt-br/web/api/window/domcontentloaded_event/index.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/pt-br/web/api/window/domcontentloaded_event/index.html b/files/pt-br/web/api/window/domcontentloaded_event/index.html
index eb54671921..d5d629de2a 100644
--- a/files/pt-br/web/api/window/domcontentloaded_event/index.html
+++ b/files/pt-br/web/api/window/domcontentloaded_event/index.html
@@ -1,7 +1,8 @@
---
title: DOMContentLoaded
-slug: Web/Events/DOMContentLoaded
+slug: Web/API/Window/DOMContentLoaded_event
translation_of: Web/API/Window/DOMContentLoaded_event
+original_slug: Web/Events/DOMContentLoaded
---
<p>O evento <code>DOMContentLoaded</code> é acionado quando todo o HTML foi completamente carregado e analisado, sem aguardar pelo CSS, imagens, e subframes para encerrar o carregamento. Um evento muito diferente - <a href="/en-US/docs/Mozilla_event_reference/load"><code>load</code></a> - deve ser usado apenas para detectar uma página completamente carregada. É um engano comum as pessoas usarem <a href="/en-US/docs/Mozilla_event_reference/load" style="line-height: 19.0909080505371px;"><code>load</code></a><span style="line-height: 19.0909080505371px;"> quando </span><code style="font-style: normal; line-height: 19.0909080505371px;">DOMContentLoaded</code><span style="line-height: 19.0909080505371px;"> seria muito mais apropriado.</span></p>