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: