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 : element
CKEDITOR.plugins.imagebase.progressBar#bar
The bar element whose width represents the progress.
-
An element created for wrapping the progress bar.
Methods
-
inherited
constructor( [ wrapperHtml ] ) → progressReporter
CKEDITOR.plugins.imagebase.progressBar#constructor
Parameters
[ wrapperHtml ] : String
-
Defaults 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
loader
has triggered one of the following events:- CKEDITOR.fileTools.fileLoader.abort
- CKEDITOR.fileTools.fileLoader.error
- CKEDITOR.fileTools.fileLoader.uploaded
Parameters
loader : fileLoader
The 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 : Number
Progress representation where
1.0
means "complete" and0
means "no progress".