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
-
The bar element whose width represents the progress.
-
An element created for wrapping the progress bar.
Methods
-
Returns
-
aborted()
Marks the progress reporter as aborted.
-
bindLoader( loader )
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.
-
done()
Marks the progress reporter as complete.
-
failed()
Marks the progress reporter as failed.
-
remove()
Removes the progress reporter from the DOM.
-
updated( progress )
Method to be called in order to refresh the progress.
Parameters
progress : Number
Progress representation where
1.0
means "complete" and0
means "no progress".