This documentation relates to an earlier version of Atlassian Gadgets.
View

Unknown macro: {spacejump}

or visit the current documentation home.

This page is part of the Gadget Developers' JavaScript Cookbook.

What features are required for the framework?

The framework uses the following features. It is safest just to include all of them:

Feature

Where Used

setprefs

To store gadget preferences.

views

To detect whether the user can edit the gadget preferences.

settitle

To automatically include the instance name in the title.

dynamic-height

Config screen,
View creation,
onResizeAdjustHeight

oauthpopup
#oauth

For user authentication. See Using Authentication in your Gadget.

atlassian.util

To detect whether the gadget is rendered by the same server it fetches data from, allowing retrieval optimisations. Note: Use an <Optional> element to declare this feature, otherise your gadget will not work in non-Atlassian containers.

RELATED TOPICS

Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

  • No labels