Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gadgets can request a reference to the shared script frame:

Code Block
javascriptJavaScriptjavascript
JavaScript
  gadgets.util.registerOnLoadHandler(function() {
    gadgets.script.getScriptFrame(function(scriptFrame) {
      // Do something with the script frame here.
    };
  });