Hallo,
in the scroll-position.js there is this statement in a comment
// scrollPosition.getPosition is only available for general-pages
My questions are:
Thanks
Hi Francesco,
a General Page is an Atlassian Connect module type that you declare in your app descriptor. General Page is documented along with other module types with the same format and behavior as simply Page in our developer documentation.
We don't provide a way for apps to detect where in the product UI one of their app iframes has been embedded, because there are other ways for you to do that.
For example, if you use the same contents for more than one iframe in your app, you could simply add a query parameter to your iframe URL to include any additional context that you need, e.g. /iframe.html?type=general-page.
The AP.scrollPosition module has not yet been documented publicly. Publishing that documentation is tracked on ACJS-907.
Oh, and for other questions about Atlassian's APIs, please use the Atlassian Developer Community.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.