Sign In

$bar[]

Generates a progress bar

v1.5.0+ Requires Brackets

Usage

$bar[;;;;;;;;;]
Also callable as
$generateBar

Arguments

NameTypeRequiredDescription
current
NumberYesThe current value
max
NumberYesThe max value of current
length
NumberNoThe length of the bar
fill
StringNoThe string to use as filled points of the bar
empty
StringNoThe string to use as empty points of the bar
trunc
BooleanNoWhether to truncate instead of round
fillStart
StringNoThe string to use as filled start of the bar
fillEnd
StringNoThe string to use as filled end of the bar
emptyStart
StringNoThe string to use as empty start of the bar
emptyEnd
StringNoThe string to use as empty end of the bar

Output

String

Was this page helpful?