Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4059298
ParamSelectWidget.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
952 B
Referenced Files
None
Subscribers
None
ParamSelectWidget.js
View Options
/**
* TemplateData parameter select widget
*
* @class
* @extends OO.ui.SelectWidget
* @mixes OO.ui.mixin.DraggableGroupElement
*
* @param {Object} [config] Dialog configuration object
*/
function
ParamSelectWidget
(
config
)
{
// Parent constructor
ParamSelectWidget
.
super
.
call
(
this
,
config
);
// Mixin constructors
OO
.
ui
.
mixin
.
DraggableGroupElement
.
call
(
this
,
Object
.
assign
(
{},
config
,
{
$group
:
this
.
$element
}
)
);
// Initialize
this
.
$element
.
addClass
(
'tdg-templateDataParamSelectWidget'
);
}
/* Inheritance */
OO
.
inheritClass
(
ParamSelectWidget
,
OO
.
ui
.
SelectWidget
);
OO
.
mixinClass
(
ParamSelectWidget
,
OO
.
ui
.
mixin
.
DraggableGroupElement
);
ParamSelectWidget
.
prototype
.
onMouseDown
=
function
(
e
)
{
if
(
$
(
e
.
target
).
closest
(
'.oo-ui-draggableElement-handle'
).
length
||
e
.
shiftKey
)
{
return
true
;
}
return
ParamSelectWidget
.
super
.
prototype
.
onMouseDown
.
apply
(
this
,
arguments
);
};
module
.
exports
=
ParamSelectWidget
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 16 2026, 05:21 (12 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f3/2e/d995d538c38a15a0eb9951d155f6
Default Alt Text
ParamSelectWidget.js (952 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment