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

@@ -4,7 +4,7 @@
### Size variants
Available values for the `ui` prop: `s`/`m`.
Available values for the [`ui`](#props-ui) prop: `s` / `m`.
[[ demo src="/demo/radio-button-group/default.vue" ]]
@@ -14,11 +14,11 @@ Available values for the `ui` prop: `s`/`m`.
| Name | Type | Default | Description |
| -- | -- | -- | -- |
| `ui` | `string=` | - | [^ui] |
| `items` | `Array<Object>` | `[]` | [^items] |
| `value` | `*` | - | [^value] |
| `disabled` | `boolean=` | `false` | Whether the radio button group is disabled. |
| `readonly` | `boolean=` | `false` | Whether the radio button group is read-only. |
| ``ui`` | `string=` | - | [^ui] |
| ``items`` | `Array<Object>` | `[]` | [^items] |
| ``value`` | `*` | - | [^value] |
| ``disabled`` | `boolean=` | `false` | Whether the radio button group is disabled. |
| ``readonly`` | `boolean=` | `false` | Whether the radio button group is read-only. |
^^^ui
Style variants.
@@ -54,10 +54,10 @@ The `value`s of the selected items.
| Name | Description |
| -- | -- |
| `item` | [^slot-item] |
| ``item`` | [^slot-item] |
^^^slot-item
The label content of each button. Displays the value of the `label` prop by default.
The label content of each button. Displays the value of the `label` property by default.
+++Scope properties
| Name | Type | Description |
@@ -75,7 +75,7 @@ Additionally, custom properties apart from the listed ones will also be passes i
| Name | Description |
| -- | -- |
| `change` | [^event-change] |
| ``change`` | [^event-change] |
^^^event-change
:::badges