Last updated Dec 8, 2017

Adding something to your gadget footer

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

Use the following code in your view template function:

1
2
view:{
  template: function(args) {
    var gadget = this;
    gadget.getFooter().append(
      AJS.$("<div/>").text("Text for the footer");
    );
  }
}

Gadget Developers' JavaScript Cookbook

Using the Atlassian Gadgets JavaScript Framework

Rate this page: