mxUrlConverter

Converts relative to absolute URLs.

Summary
mxUrlConverterConverts relative to absolute URLs.
Variables
enabledSpecifies if the converter is enabled.
baseUrlSpecifies the base URL to be used as a prefix for relative URLs.
Functions
isEnabledReturns enabled.
setEnabledSets enabled.
getBaseUrlReturns baseUrl.
setBaseUrlSets baseUrl.
convertConverts the given URL to an absolute URL.

Variables

enabled

var enabled

Specifies if the converter is enabled.  Default is true.

baseUrl

var baseUrl

Specifies the base URL to be used as a prefix for relative URLs.

Functions

isEnabled

isEnabled: function()

Returns enabled.

setEnabled

setEnabled: function(value)

Sets enabled.

getBaseUrl

getBaseUrl: function()

Returns baseUrl.

setBaseUrl

setBaseUrl: function(value)

Sets baseUrl.

convert

convert: function(url)

Converts the given URL to an absolute URL.

var enabled
Specifies if the converter is enabled.
var baseUrl
Specifies the base URL to be used as a prefix for relative URLs.
isEnabled: function()
Returns enabled.
setEnabled: function(value)
Sets enabled.
getBaseUrl: function()
Returns baseUrl.
setBaseUrl: function(value)
Sets baseUrl.
convert: function(url)
Converts the given URL to an absolute URL.
Close