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.

How do I make gadgets.window.adjustHeight() be called when the window is resized?

Enable the onResizeAdjustHeight option on the view object:

view: {
  onResizeAdjustHeight: true,
  template: ...
}

RELATED TOPICS

Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

  • No labels