Add an event handler for the DOMContentLoaded event. DOMContentLoaded is raised when the initial html document has been parsed. This aligns with the document's DOMContentLoaded event in html.
\snippet ScenarioDOMContentLoaded.cpp DOMContentLoaded
See Implementation
Add an event handler for the DOMContentLoaded event. DOMContentLoaded is raised when the initial html document has been parsed. This aligns with the document's DOMContentLoaded event in html.
\snippet ScenarioDOMContentLoaded.cpp DOMContentLoaded