Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

Type

Description

listener

Function

A function that will be called whenever the embedded experience context is set for this gadget.  The function should take one parameter which is a JSON object representing the embedded experience context from the gadget.  See the embedded experiences data model description for more information on the context object.

Example:

Code Block
javascript
javascript
gadgets.ee.registerContextListener(function(context) {
  //Do something with the context
});

Additional Considerations:

...