All Versions
Gadgets and Dashboards 3.0Gadgets and Dashboards 2.0
Gadgets and Dashboards 1.0
More...
This page is part of the Gadget Developers' JavaScript Cookbook.
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, oauthpopup 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
View creation,
onResizeAdjustHeight
#oauth
<Optional>
element to declare this feature, otherise your gadget will not work in non-Atlassian containers.
Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework