This page is part of the Gadget Developers' JavaScript Cookbook.
This will add a reload icon to the footer of the gadget and an auto-reload option to the config screen:
Include the refresh
userpref defaulted to false:
1 2<UserPref name="refresh" datatype="hidden" default_value="false" />
Enable reloading in the view
config object:
1 2view: { enableReload: true, template: ... }
Rate this page: