How to check when my WebControlWrapper ends to loaded my HTML code?

How to check when HTML code ends to loaded?
I use a WebControlWrapper to make my custom control.
I need, only when the control has loaded all the HTML code, to run a javascript automatically.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.