Hi,
This is a pretty straight forward question which hopefully doesn't require too much of a backstory: does the document
element from the DOM load dynamically as a user scrolls up or down the survey creator page?
I'm implementing a functionality which looks through certain parts of the Survey Creator page and using the document.getElementById
or document.getElementsByClassName
. For the most part, everything I'm doing with this works, except the results are only found at the point of the page that I am in. For example, If I'm on the first page, I will only be able to find the elements on the first page. If I'm on the second, I can see the results of the first and second pages. Etc.
This is why I'm wondering whether the document
element is actually loaded dynamically. If this is the case, is there any way that I can specify it so that every loads when the component is mounted?