Progress

Progress indicator UI.

show#

Creates and mounts an indeterminate progress bar on target or the editor body.

Parameters:

  • target (string) — scroll target selector or element
app.progress.show();

hide#

Removes the progress bar element from the DOM.

app.progress.hide();

set#

Sets determinate progress (0–1) or switches to indeterminate mode when value is null.

Parameters:

  • value (any) — value to store
app.progress.set(0.5);