search

goog.net.IframeLoadMonitor

Provided By
Extends
All Implemented Interfaces

The correct way to determine whether a same-domain iframe has completed loading is different in IE and Firefox. This class abstracts above these differences, providing a consistent interface for:

  1. Determing if an iframe is currently loaded
  2. Listening for an iframe that is not currently loaded, to finish loading

new IframeLoadMonitor( iframe, opt_hasContent )

Parameters
iframe(HTMLIFrameElement|null)

An iframe.

opt_hasContentboolean=

Whether to wait for the loaded iframe to have content in its document body.

Instance Methods

Instance Properties

Static Properties