Closed tguichaoua closed 1 year ago
Allow the name parameter to accept template for better customization.
name
Possible value that can be inserted in the name :
$value
$max
$percentage
value/max * 100
Note: I use $ as prefix, but it will probably depend on the template engine used.
$
Examples :
- name: My super progress bar [$value / $max] - value: 10 - max: 100
My super progress bar [10 / 100]
- name: My tasks ($percentage %) - value: 10 - max: 50
My tasks (20 %)
sound great! let me work on it this weekend.
Allow the
name
parameter to accept template for better customization.Possible value that can be inserted in the name :
$value
: render into the value$max
: render into the maximum value$percentage
: render intovalue/max * 100
roundedNote: I use
$
as prefix, but it will probably depend on the template engine used.Examples :