mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
docs: add period at the end of sentence
This commit is contained in:
@@ -91,7 +91,7 @@ export default {
|
||||
|
||||
### Custom Active Color
|
||||
|
||||
Use `active-color` prop to custom active color of the title and options
|
||||
Use `active-color` prop to custom active color of the title and options.
|
||||
|
||||
```html
|
||||
<van-dropdown-menu active-color="#1989fa">
|
||||
|
@@ -44,7 +44,7 @@ export default {
|
||||
|
||||
### 自定义菜单内容
|
||||
|
||||
通过插槽可以自定义`DropdownItem`的内容,此时需要使用实例上的`toggle`方法手动控制菜单的显示
|
||||
通过插槽可以自定义 `DropdownItem` 的内容,此时需要使用实例上的 `toggle` 方法手动控制菜单的显示。
|
||||
|
||||
```html
|
||||
<van-dropdown-menu>
|
||||
@@ -93,7 +93,7 @@ export default {
|
||||
|
||||
### 自定义选中态颜色
|
||||
|
||||
通过`active-color`属性可以自定义菜单标题和选项的选中态颜色
|
||||
通过 `active-color` 属性可以自定义菜单标题和选项的选中态颜色。
|
||||
|
||||
```html
|
||||
<van-dropdown-menu active-color="#1989fa">
|
||||
@@ -104,7 +104,7 @@ export default {
|
||||
|
||||
### 向上展开
|
||||
|
||||
将`direction`属性值设置为`up`,菜单即可向上展开
|
||||
将 `direction` 属性值设置为 `up`,菜单即可向上展开。
|
||||
|
||||
```html
|
||||
<van-dropdown-menu direction="up">
|
||||
|
Reference in New Issue
Block a user