The root namespace for Airlock Browser.
- Source:
Namespaces
Members
(static) onReady
Use this function to determine when the airlock object is ready to
be called. The specified function is called immediately following
the window.onload event.
- Source:
Example
// The following lines can be placed in a script element
// in a page's head element.
airlock.onReady("handleAirlockReady()");
var filesDir;
function handleAirlockReady() {
// Initialize the fileDir variable to the app's files directory.
filesDir = airlock.io.getAppFilesDirectory();
}
Type Definitions
Event
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
addListener |
function | Adds a listener for the event. listener is a function that a |
removeListener |
function | Removes a previously added listener. |
- Source:
EventListener(args)
Parameters:
Name | Type | Description |
---|---|---|
args |
object | An event argument object containing values pertaining to the particular event. |
- Source: