Static
baseStatic
defaultDefines the default language which is used in the common resource files. Any resources for this language will only load the common resource file, but not the language-specific resource file.
Static
imageBase path for all images URLs in the core without trailing slash.
When using a relative path, the path is relative to the URL of the page that contains the assignment. Trailing slashes are automatically removed.
Static
IS_Returns true if the user agent contains Android.
Static
IS_True if the this is running inside a Chrome App.
Static
IS_True if the client is a Chrome OS.
Static
IS_True if the current browser is Microsoft Edge.
Static
IS_True if the current browser is Firefox.
Static
IS_True if the current browser is Google Chrome.
Static
IS_Returns true if the user agent is an iPad, iPhone or iPod.
Static
IS_True if the documents location does not start with http:// or https://.
Static
IS_True if the client is a Mac.
Static
IS_True if -moz-transform is available as a CSS style. This is the case for all Firefox-based browsers newer than or equal 3, such as Camino, Iceweasel, Seamonkey and Iceape.
Static
IS_True if the current browser is Netscape (including Firefox).
Static
IS_True if this device supports Microsoft pointer events (always false on Macs).
Static
IS_True if the current browser is Safari.
Static
IS_True if the browser supports SVG.
Static
IS_True if this device supports touchstart/-move/-end events (Apple iOS, Android, Chromebook and Chrome Browser on touch-enabled devices).
Static
IS_True if the client is a Windows.
Static
languageDefines the language of the client, eg. en
for english, de
for german etc.
The special value none
will disable all built-in internationalization and
resource loading. See Resources#getSpecialBundle for handling identifiers
with and without a dash.
If internationalization is disabled, then the following variables should be overridden to reflect the current language of the system. These variables are cleared when i18n is disabled. Editor.askZoomResource, Editor.lastSavedResource, Editor.currentFileResource, Editor.propertiesResource, Editor.tasksResource, Editor.helpResource, Editor.outlineResource, ElbowEdgeHandler#doubleClickOrientationResource, Utils#errorResource, Utils#closeResource, GraphSelectionModel#doneResource, GraphSelectionModel#updatingSelectionResource, GraphView#doneResource, GraphView#updatingDocumentResource, CellRenderer#collapseExpandResource, Graph#containsValidationErrorsResource and Graph#alreadyConnectedResource.
Static
languagesDefines the optional array of all supported language extensions. The default language does not have to be part of this list. See Translations#isLanguageSupported.
This is used to avoid unnecessary requests to language files, ie. if a 404 will be returned.
Static
NO_True if foreignObject support is not available. This is the case for Opera, older SVG-based browsers and all versions of IE.
Static
VERSIONThe version of the maxGraph
library.
Base path for all URLs in the core without trailing slash.
When using a relative path, the path is relative to the URL of the page that contains the assignment. Trailing slashes are automatically removed.