Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7430492
ve.ui.MobileWindowManager.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
ve.ui.MobileWindowManager.js
View Options
/*!
* VisualEditor UserInterface MobileWindowManager class.
*
* @copyright See AUTHORS.txt
*/
/**
* Window manager for mobile windows.
*
* @class
* @extends ve.ui.SurfaceWindowManager
*
* @constructor
* @param {ve.ui.Surface} surface Surface this belongs to
* @param {Object} [config] Configuration options
* @param {ve.ui.Overlay} [config.overlay] Overlay to use for menus
*/
ve
.
ui
.
MobileWindowManager
=
function
VeUiMobileWindowManager
(
surface
,
config
)
{
// Parent constructor
ve
.
ui
.
MobileWindowManager
.
super
.
call
(
this
,
surface
,
config
);
// Initialization
this
.
$element
.
addClass
(
've-ui-mobileWindowManager'
);
};
/* Inheritance */
OO
.
inheritClass
(
ve
.
ui
.
MobileWindowManager
,
ve
.
ui
.
SurfaceWindowManager
);
/* Static Properties */
// Only allow 'small' and 'full' sizes, defaulting to 'full'
ve
.
ui
.
MobileWindowManager
.
static
.
sizes
=
{
small
:
ve
.
ui
.
MobileWindowManager
.
super
.
static
.
sizes
.
small
,
full
:
ve
.
ui
.
MobileWindowManager
.
super
.
static
.
sizes
.
full
};
ve
.
ui
.
MobileWindowManager
.
static
.
defaultSize
=
'full'
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 10:29 (9 h, 32 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f1/49/7b48e8b7fe4beddeee78a05f3180
Default Alt Text
ve.ui.MobileWindowManager.js (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment