Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4148085
ProgressIndicatorWidget.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
637 B
Referenced Files
None
Subscribers
None
ProgressIndicatorWidget.js
View Options
/**
* A Codex ProgressIndicator component implementation.
*/
class
ProgressIndicatorWidget
{
/**
* Initialize the widget.
*
* @param {string} label aria-label to set on the backing <progress> element
*/
constructor
(
label
)
{
const
$progress
=
$
(
'<progress>'
)
.
attr
(
{
class
:
'cdx-progress-indicator__indicator__progress'
,
'aria-label'
:
label
}
);
const
$indicator
=
$
(
'<div>'
)
.
addClass
(
'cdx-progress-indicator__indicator'
)
.
append
(
$progress
);
this
.
$element
=
$
(
'<div>'
)
.
addClass
(
'cdx-progress-indicator'
)
.
append
(
$indicator
);
}
}
module
.
exports
=
ProgressIndicatorWidget
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Aug 19 2026, 18:39 (6 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0b/ad/826c9149cd7ee11572ada8e0d65b
Default Alt Text
ProgressIndicatorWidget.js (637 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment