#[
autogenerated by docgen
loc: /build/nim/src/nim/lib/js/dom.nim(18, 17)
rdoccmd: -b:js -r:off
]#
import std/assertions
import "/build/nim/src/nim/lib/js/dom.nim"
{.line: ("/build/nim/src/nim/lib/js/dom.nim", 18, 17).}:
  proc example(e: Event) = echo "Document is ready"
  document.addEventListener("DOMContentLoaded", example)  # You can also use "load" event.

