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 add something to the footer?

Use the following code in your view template function:

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

  • ラベルなし