Skip to end of metadata
Go to start of metadata

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");
    );
  }
}

RELATED TOPICS

Gadget Developers' JavaScript Cookbook
Using the Atlassian Gadgets JavaScript Framework

  • No labels

2 Comments

  1. Anonymous

    js error:

     gadget.getFooter().append(
          AJS.$("<div/>").text("Text for the footer"); <-- rm ;
        );