Report an issue
Class

CKEDITOR.plugins.imagebase.progressReporter

class

This is the base type for progress reporters.

A progress reporter can be updated:

Filtering

Properties

  • wrapper : element

    An element created for wrapping the progress bar.

Methods

  • constructor( [ wrapperHtml ] ) → progressReporter

    Parameters

    [ wrapperHtml ] : String

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

    Returns

    progressReporter
  • 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:

    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" and 0 means "no progress".