You can no longer publish Connect apps on the Atlassian Marketplace. All new extensibility features will be delivered only on Forge.
Refer to this blog post for our timeline to end Connect support.
Have an existing Connect app? You can incrementally migrate it to Forge.
Enables apps to get and set the scroll position.
Gets the scroll position relative to the browser viewport
Name | Type | Description |
---|---|---|
callback | function | callback to pass the scroll position |
1 2AP.scrollPosition.getPosition(function(obj) { console.log(obj); });
Sets the vertical scroll position relative to the iframe
Name | Type | Description |
---|---|---|
y | Number | vertical offset position |
callback | function | callback to pass the scroll position |
1 2AP.scrollPosition.setVerticalPosition(30, function(obj) { console.log(obj); });
Rate this page: