States

17 Feb 20221 minute to read

Visualize progress in different states.

Determinate

This is the default state. You can use it when the progress estimation is known.

<ejs-progressbar id="container" type='Linear' height='60' minimum="0" maximum="100"
            value=100>
</ejs-progressbar>

Indeterminate

By enabling the isIndeterminate property, the state of the progress bar can be changed to indeterminate when the progress cannot be estimated or is not being calculated. It can be combined with determinate mode to know that the application is estimating progress before the actual progress starts.

<ejs-progressbar id="container" type='Linear' height='60' minimum="0" maximum="100"
            value=20 isIndeterminate="true">
</ejs-progressbar>

Buffer

You can use a secondary progress indicator when the primary progress depends on the secondary progress. This will allow users to visualize both primary and secondary progress simultaneously.

<ejs-progressbar id="container" type='Linear' height='60' minimum="0" maximum="100"
                value=40 secondaryProgress='60'>
</ejs-progressbar>