Report an issue
Class

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

    The bar element whose width represents the progress.

  • inherited

    wrapper : element

    An element created for wrapping the progress bar.

Methods

  • inherited

    constructor( [ wrapperHtml ] ) → progressReporter

    Parameters

    [ wrapperHtml ] : String

    Defaults to '<div class="cke_loader"></div>'

    Returns

    progressReporter
  • inherited

    aborted()

    Marks the progress reporter as aborted.

  • inherited

    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:

    Parameters

    loader : fileLoader

    The loader that should be observed.

  • inherited

    done()

    Marks the progress reporter as complete.

  • inherited

    failed()

    Marks the progress reporter as failed.

  • inherited

    remove()

    Removes the progress reporter from the DOM.

  • inherited

    updated( progress )

    Method to be called in order to refresh the progress.

    Parameters

    progress : Number

    Progress representation where 1.0 means "complete" and 0 means "no progress".