CKEDITOR.plugins.imagebase.progressBar
class
The type that adds a vertical progress bar.
var progress = new CKEDITOR.plugins.imagebase.progressBar();
myWrapper.append( progress.wrapper, true );
progress.bindLoader( myFileLoader );
Filtering
Properties
bar : elementCKEDITOR.plugins.imagebase.progressBar#barThe bar element whose width represents the progress.
-
An element created for wrapping the progress bar.
Methods
inherited
constructor( [ wrapperHtml ] ) → progressReporterCKEDITOR.plugins.imagebase.progressBar#constructorParameters
[ wrapperHtml ] : StringDefaults to
'<div class="cke_loader"></div>'Returns
progressReporter
Marks the progress reporter as aborted.
Binds this progress reporter to a given
loader.It will automatically remove its listeners when the
loaderhas triggered one of the following events:- CKEDITOR.fileTools.fileLoader.abort
- CKEDITOR.fileTools.fileLoader.error
- CKEDITOR.fileTools.fileLoader.uploaded
Parameters
loader : fileLoaderThe loader that should be observed.
Marks the progress reporter as complete.
Marks the progress reporter as failed.
Removes the progress reporter from the DOM.
Method to be called in order to refresh the progress.
Parameters
progress : NumberProgress representation where
1.0means "complete" and0means "no progress".