Extends
- PortletBase
Members
(protected, static) percentage_ :Number
Percentage of adapted images.
Type:
- Number
- Source:
(protected, static) progressBarClass_ :String
The progress bar class.
Type:
- String
- Source:
(protected, static) progressBarLabel_ :String
The progress bar label.
Type:
- String
- Source:
(protected, static) progressBarTooltip_ :String
The progress bar tooltip. If AdaptiveMediaProgress.tooltip
is defined, this will be used.
Type:
- String
- Source:
(protected, static) progressBarValue_ :Number
The progress bar value.
Type:
- Number
- Source:
(protected, static) showLoadingIndicator_ :Boolean
If the loading indicator has to be shown
near the progress bar.
Type:
- Boolean
- Source:
adaptedImages :Number
Number of adapted images in the platform.
Type:
- Number
- Source:
autoStartProgress :Number
Number of adapted images in the platform.
Type:
- Number
- Source:
disabled :Boolean
Indicates if the entry is disabled or not.
Type:
- Boolean
- Source:
intervalSpeed :Number
The interval (in milliseconds) on how often
we will check the percentage of adapted images.
Type:
- Number
- Source:
percentageUrl :String
Url to the action that returns the percentage
of adapted images.
Type:
- String
- Source:
tooltip :String
The tooltip text to show in the progress bar.
Type:
- String
- Source:
tooltipPosition :Object
The tooltip position in the progress bar.
Type:
- Object
- Source:
totalImages :Number
Number of images present in the platform.
Type:
- Number
- Source:
uuid :String
Configuration entry's uuid.
Type:
- String
- Source:
Methods
(protected) clearInterval_()
Clears the interval to stop sending ajax requests.
- Source:
created()
- Source:
(protected) getAdaptedImagesPercentage_()
Sends an ajax request to obtain the percentage of
adapted images and updates the progressbar.
- Source:
(protected) onProgressBarComplete_()
Stops sending ajax request and hides the loading icon.
- Source:
startProgress(backgroundTaskUrl)
It starts checking the percentage of adapted images by
doing ajax request continously.
Parameters:
| Name | Type | Description |
|---|---|---|
backgroundTaskUrl |
String | The background task that has to be invoked. |
- Source:
(protected) updateProgressBar_(progress)
Updates the progressbar
Parameters:
| Name | Type | Description |
|---|---|---|
progress |
Number | progressbar value |
- Source: