fix: fix refblock render order and typos

This commit is contained in:
Justineo
2021-10-29 17:13:10 +08:00
parent c13f5f01a9
commit cdc042a1c1
9 changed files with 14 additions and 13 deletions

View File

@@ -94,7 +94,7 @@ Separator between adjacent breadcrumb items. Displays a globally configured icon
:::warning
When using Vue.js version `2.5.17` and below, it's required to bind a `slot-scope`.
:::
^^^^
^^^
### Events

View File

@@ -172,7 +172,7 @@ The entire drop-down trigger area. Displays the dropdown button by default.
+++
^^^
^^^^handlers-desc
^^^handlers-desc
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
:::tip

View File

@@ -54,4 +54,4 @@ When `target` has a value of `_blank`, a `noopener` token will be automatically
| Key | Type | Default | Description |
| -- | -- | -- | -- |
| ``link.routerLink`` | `string` | `router-link` | The name of the link component used in route mode so that you can replace the default one with a Vue Router-compatible implementation in environments such as Nuxt.js. |
| ``link.routerLink`` | `string` | `'router-link'` | The name of the link component used in route mode so that you can replace the default one with a Vue Router-compatible implementation in environments such as Nuxt.js. |

View File

@@ -176,7 +176,7 @@ The entire content area of each option (option without child `options`). Display
Additionally, custom properties in current option, apart from the listed ones, will also be passes into the scope object via `v-bind`.
^^^
^^^slot-trigger
^^^^slot-trigger
The entire drop-down trigger area. Displays the select input by default.
+++Scope properties
@@ -189,15 +189,16 @@ The entire drop-down trigger area. Displays the select input by default.
| `expanded` | `boolean` | Whether the dropdown menu is expanded or not. |
| `toggle` | `function(force?: boolean): void` | Used to toggle the expanded state of the dropdown menu. |
+++
^^^
^^^^handlers-desc
^^^handlers-desc
Event listeners that need to be bound to the trigger element, can be output using `v-on="handlers"`.
:::tip
The element used to bind `handlers` needs to support focus acquisition so that various keyboard interactions can still be triggered properly.
:::
^^^
^^^^
### Events

View File

@@ -181,13 +181,13 @@ In image upload mode, it is used to customize the actions on the floating toolba
| ``uploading`` | The area of a single image being uploaded in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
| ``failure`` | The area of a single image that failed to upload in image upload mode. The scope argument is the same as the [`file`](#slots-file) slot. |
^^^^button-label
^^^button-label
The content in the upload button.
Default content: file upload for prompt to select a file, and image upload for upload image icon.
^^^
^^^^file
^^^file
Single file area to customize the file content.
+++ scope parameters