Skip to main content

ProgressIndicator

WLJS
Wolfram Kernel
Execution environment
Supports dynamics
ProgressIndicator[x]
ProgressIndicator[x, {min, max}]

represents an active indicator used for reporting the progress. When ranges are not specified, it is assumed to be from 0 to 1.

Dynamics

First argument x can be dynamic symbols or expression. Use Offload to dynamically update the indicator, i.e.

x = 0.2;
ProgressIndicator[Offload[x], {0,10}]

then in the next cell

Do[x++; Pause[0.2];, {5}];

or as a button

Button["Increase", x++]

Output forms