IsWebFrameReady
Whether a frame’s page has loaded and is listening.
true from the moment OnWebFrameReady runs for the frame until its page is gone. A frame that is only hidden is still
ready. false for a frame that was never shown, one still loading, an unknown name, and when there is no web layer.
Syntax
Section titled “Syntax”IsWebFrameReady(frame)| Parameter | Type | |
|---|---|---|
frame |
string | the frame’s name |
Returns
Section titled “Returns”boolean - true when the page is listening
Example
Section titled “Example”if not IsWebFrameReady("hud") then ShowWebFrame("hud")endSee also
Section titled “See also”OnWebFrameReady · ShowWebFrame · IsWebAvailable · the Web interface group of the index
