Class: BootstrapProgress

BootstrapProgress

Template for bootstrap progress bar

Constructor

new BootstrapProgress(optionsopt)

Constructor
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Default Description
showPercent boolean <optional>
true whether to show percent value
struct object <optional>
Properties
Name Type Attributes Default Description
$wrapper string <optional>
'.progress' the wrapper element
$progress string <optional>
'.progress' the bootstrap progress element
$bar string <optional>
'.progress-bar' the bootstrap progress bar
$percent string <optional>
'.progress-percent' the progress bar percent
Source:

Extends

  • Template

Methods

setProgress(percent) → {BootstrapProgress}

Set the progress of the bar
Parameters:
Name Type Description
percent number
Source:
Returns:
Type
BootstrapProgress