Developer
News and Updates
Get Support
Sign in
Get Support
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Sign in
DOCUMENTATION
Cloud
Data Center
Resources
Sign in
Security for Connect apps
Framework overview
Building blocks
Modules
JavaScript API
Last updated Feb 24, 2026

AP

Utility methods that are available without requiring additional modules.

Methods

getLocation (callback)

Get the location of the host page.

Parameters

NameTypeDescription
callbackfunctionfunction (location) {...}

Example

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

resize (width, height)

Resize this frame.

Parameters

NameTypeDescription
widthStringthe desired width
heightString

the desired height

Rate this page: