feat: add link for individual props/events/slots/configs/icons

This commit is contained in:
Justineo
2021-10-20 01:11:27 +08:00
parent df2b6892d2
commit b0dcdbb873
162 changed files with 2176 additions and 2073 deletions

View File

@@ -10,16 +10,16 @@
| Name | Type | Default | Description |
| -- | -- | -- | -- |
| `ui` | `string=` | - | [^ui] |
| `type` | `string` | `'bar'` | The type of the progress. Available values are `bar`/`circular`, denoting progress bar and progress circle respectively. |
| `desc` | `boolean` | `false` | The description of the progress. |
| `value` | `number` | `0` | Progress value. |
| `min` | `number` | `0` | Minimum value. |
| `max` | `number` | `1` | Max value. |
| `decimal-place` | `number` | `0` | Decimal place for the progress value. |
| `status` | `string` | - | [^status] |
| `autosucceed` | `boolean|number` | - | Whether automatically enter the `success` status when the progress reaches the maximum value. `true` denotes entering immediately, while `number` values denotes the delay in milliseconds before entering the `success` status. |
| `indeterminate` | `boolean` | `false` | Whether the progress is indeterminate. Currently only works when `type` is `bar`. |
| ``ui`` | `string=` | - | [^ui] |
| ``type`` | `string` | `'bar'` | The type of the progress. Available values are `bar` / `circular`, denoting progress bar and progress circle respectively. |
| ``desc`` | `boolean` | `false` | The description of the progress. |
| ``value`` | `number` | `0` | Progress value. |
| ``min`` | `number` | `0` | Minimum value. |
| ``max`` | `number` | `1` | Max value. |
| ``decimal-place`` | `number` | `0` | Decimal place for the progress value. |
| ``status`` | `string` | - | [^status] |
| ``autosucceed`` | `boolean | number` | - | Whether automatically enter the `success` status when the progress reaches the maximum value. `true` denotes entering immediately, while `number` values denotes the delay in milliseconds before entering the `success` status. |
| ``indeterminate`` | `boolean` | `false` | Whether the progress is indeterminate. Currently only works when `type` is `bar`. |
^^^ui
Style variants.
@@ -37,14 +37,14 @@ Style variants.
`.sync`
:::
The status of the progress. Available values are `success`/`alert`, denoting success and alert status respectively.
The status of the progress. Available values are `success` / `alert`, denoting success and alert status respectively.
^^^
### Slots
| Name | Description |
| -- | -- |
| `default` | [^slot-default] |
| ``default`` | [^slot-default] |
^^^slot-default
The description content. Displays the percentage value of the progress by default.
@@ -53,7 +53,7 @@ The description content. Displays the percentage value of the progress by defaul
| Name | Type | Description |
| -- | -- | -- |
| `percent` | `number` | The percentage value of the progress. |
| `value` | `number` | The value of the progress, same as the `value` prop. |
| `status` | `string` | The status of the progress, same as the `status` prop. |
| `value` | `number` | The value of the progress, same as the [`value`](#props-value) prop. |
| `status` | `string` | The status of the progress, same as the [`status`](#props-status) prop. |
+++
^^^