Interface HasContentLoadedHandlers

All Superinterfaces:
HasHandlers
All Known Implementing Classes:
HTMLFlow, HTMLPane

public interface HasContentLoadedHandlers extends HasHandlers
  • Method Details

    • addContentLoadedHandler

      HandlerRegistration addContentLoadedHandler(ContentLoadedHandler handler)
      StringMethod fired when content is completely loaded in this htmlFlow. Has no default implementation. Add a notification to fire custom logic when loading completes.

      Notes:

      • A call to this.setContents() will cause this notification to be fired when the contents have been set. If evalScriptBlocks is true, and the HTML passed into setContents() contains any <script src=... > tags, this callback will be fired asynchronously once the scripts have been loaded from the server and executed, as well as having the widget content updated
      • When using contentsURL, this does not apply to htmlFlows with contentsType set to "page"
      Parameters:
      handler - the contentLoaded handler
      Returns:
      HandlerRegistration used to remove this handler