Last updated Dec 8, 2017

Making your gadget reload when resized

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

How do I make the gadget reload when it is resized?

Enable the onResizeReload option on the view object:

1
2
view: {
  onResizeReload: true,
  template: ...
}

Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

Rate this page: