Skip to content

Commit 5080a8f

Browse files
committed
doc: update #legend description
1 parent 5afac40 commit 5080a8f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -366,11 +366,11 @@ Boolean value that defines whether the **[`progress`](#progress)** or from you d
366366

367367
###### Animated: ✔️
368368

369-
Is any Number or String. Use this property if you want to show progress value as the legend of the circle that is not in
370-
the range [-100, 100]. If defined, `legend` will replace [`progress`](#progress) as the circle legend!
371-
You can set any precision of the decimal numbers. If the prop is defined as a string, you can specify the `","`
372-
as decimals delimiter (e.g "123,123" for german numbers), apart from this the value must generally be a valid JavaScript Number.
373-
For more customization possibilities please use [`legendFormatter`](#legendformatter) or [`scoped slot`](#default).
369+
Is any Number or String. Use this property if you want to show the progress value as the legend of the circle that is not in
370+
the range [-100, 100]. If defined, `legend` will replace [`progress`](#progress) as the circle legend! Defining the value as
371+
string you can apply very simple formatting with `"."` or `","` as delimiter to set initial counter placeholder (e.g "0045.00").
372+
Apart from this the value must generally be a valid JavaScript Number. For more customization possibilities please
373+
use [`legendFormatter`](#legendformatter) or [`scoped slot`](#default).
374374

375375
###### Example: 📜
376376

@@ -387,7 +387,7 @@ this.progress = this.rating * 100 / 5; // the rating percentage
387387
Now you can display custom progress value that still animated and circle progress fills properly!
388388

389389
```vue
390-
<ve-progress legend="345,12345" /> // set "," as delimiter defining the value as string
390+
<ve-progress legend="0100,450" /> // counts up from "0000,000"
391391
```
392392

393393
>❗ note that `legend` replaces **[`progress`](#progress)** as circle legend.

changelog-template.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5555
- {{subject}} [`{{shorthash}}`]({{href}})
5656
{{/commit-list}}
5757

58-
{{#commit-list commits heading='##### 📜 Misc' message='(chore|test): ' exclude='.!:.'}}
58+
{{#commit-list commits heading='##### 📜 Misc' message='(chore|test|doc): ' exclude='.!:.'}}
5959
- {{subject}} [`{{shorthash}}`]({{href}})
6060
{{/commit-list}}
6161

0 commit comments

Comments
 (0)