progressbar

April 21, 2015 ยท View on GitHub

Use this block for displaying a progress status of a process.

Overview

Modifiers of the block

ModifierAcceptable valuesUse casesDescription
theme'islands'BEMJSONA custom design.

Custom fields of the block

FieldTypeDescription
valNumberThe status of the process progress (in percent).

Block description

Use the progressbar block to display the progress of some process. The fundamental difference from the spin block is that the progressbar shows a status of the process progress.

The block has the default width value: the progressbar width is equal to the width of the parental block.

Modifiers of the block

theme modifier

Acceptable value: 'islands'.

Use case: BEMJSON.

The modifier gives the block a custom design.

{
    block : 'progressbar',
    mods : { theme : 'islands' },
    val : 25
}

Custom fields of the block

val field

Type: Number.

Specifies the status of the process progress (in percent relative to its parental block). By default process progress is equal to 0;

{
    block : 'progressbar',
    mods : { theme : 'islands' },
    val : 25
}