We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dcb643 commit b9b7252Copy full SHA for b9b7252
1 file changed
node-properties.md
@@ -725,3 +725,10 @@ alert(HTMLDocument.prototype.__proto__.__proto__.constructor.name); // Node
725
726
<p>We also could examine the object using <mark>console.dir(document)</mark> and see
727
these names by opening <mark>__proto__</mark>. The console takes them from <mark>constructor</mark> internally.</p>
728
+
729
+<pre>
730
+document.addEventListener("DOMContentLoaded", () => {
731
+ console.log("The DOM is fully loaded and parsed");
732
+ // Your code here
733
+});
734
+</pre>
0 commit comments