docs(DropdownMenu): add demo of active-color (#4331)

This commit is contained in:
neverland
2019-09-03 10:05:11 +08:00
committed by GitHub
parent ad4f76bdbd
commit 9d941272d5
4 changed files with 51 additions and 2 deletions
+11
View File
@@ -77,6 +77,17 @@ export default {
};
```
### Custom Active Color
Use `active-color` prop to custom active color of the title and options
```html
<van-dropdown-menu active-color="#f44">
<van-dropdown-item v-model="value1" :options="option1" />
<van-dropdown-item v-model="value2" :options="option2" />
</van-dropdown-menu>
```
### Expand Direction
```html