Contains helper functions for the developer.
Properties:
Name | Type | Description |
---|---|---|
BROWSER |
Object |
Contains the type of browser that we are currently on (based on user agent). Format:
|
Methods
(static) getFullURI(relativeURL) → {String}
Returns full URL from relative URL
Parameters:
Name | Type | Description |
---|---|---|
relativeURL |
String |
The relative URL that we want the full path to. It must be relative to the current page being rendered. If a full URL is provided, it will return the same. |
Example
// If current rendered page is https://example.com/my/page
let relativeURL = 'foo.txt'
AW4.Utils.getFullURI(relativeURL) // returns "https://example.com/my/page/foo.txt"
(static) launchConnect(callbacks) → {null}
Attempt to launch Connect. It will handle different browser implementations to not end in an error page or launch multiple times.
Parameters:
Name | Type | Description |
---|---|---|
callbacks |
Callbacks |
Result returned to success callback:
|