• About the JavaScript API
  • AP
  • Cookie
  • Dialog
  • Events
  • History
  • Inline dialog
  • Flag
  • Messages (DEPRECATED)
  • Proxy request
  • Request

AP

Utility methods that are available without requiring additional modules.

Methods

getLocation (callback)

Get the location of the host page.

Parameters

Name Type Description
callback function function (location) {...}

Example

1
2
3
AP.getLocation(function(location){
    alert(location);
});

resize (width, height)

Resize this frame.

Parameters

Name Type Description
width String the desired width
height String

the desired height

  • System status
  • Privacy
  • Developer Terms
  • Trademark
  • Cookie Preferences
  • © 2019 Atlassian