Expand all

Config

Contains/retrieves configuration/environment information for MediaViewer.

Constructor

new Config() #

Properties

POSITION_REGEXPstatic #

RegExp representing the media position as in "File:foo.jpg/3"

Source:
RegExp representing the media position as in "File:foo.jpg/3"

ROUTEstatic #

The media route prefix

Source:
The media route prefix

ROUTE_REGEXPstatic #

RegExp representing the media route

Source:
RegExp representing the media route

Methods

isMediaViewerEnabledOnClick() → {boolean}static #

Returns true if MediaViewer should handle thumbnail clicks.

Returns:

Type
boolean
Source:
Returns true if MediaViewer should handle thumbnail clicks.

language() → {string}static #

Returns UI language

Returns:

Language code

Type
string
Source:
Returns UI language