AP

On This Page

    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 3 AP.getLocation(function(location){ alert(location); });

    resize (width, height)

    Resize this frame.

    Parameters

    NameTypeDescription
    widthStringthe desired width
    heightString

    the desired height

    Rate this page: