|
|
@@ -386,11 +386,11 @@ export default {
|
|
|
|
|
|
| Attribute | Description | Type | Default |
|
|
|
|----------------------------------|---------------------------------------------------------------------|-------------------------|---------|
|
|
|
-| active-color | Active color of title and option | String | #F2270C |
|
|
|
-| close-on-click-overlay | Whether to close when overlay is clicked | Boolean | true |
|
|
|
-| scroll-fixed | Whether to fixed when window is scrolled, fixed position can be set | Boolean、String、Number | false |
|
|
|
-| title-class | Custome title class | String | - |
|
|
|
-| lock-scroll | Whether the background is locked | Boolean | true |
|
|
|
+| active-color | Active color of title and option | string | `#F2270C` |
|
|
|
+| close-on-click-overlay | Whether to close when overlay is clicked | boolean | `true` |
|
|
|
+| scroll-fixed | Whether to fixed when window is scrolled, fixed position can be set | boolean \| string \| number | `false` |
|
|
|
+| title-class | Custome title class | string | - |
|
|
|
+| lock-scroll | Whether the background is locked | boolean | `true` |
|
|
|
### Menu Slots
|
|
|
| Name | Description |
|
|
|
|-|-|
|
|
|
@@ -399,14 +399,14 @@ export default {
|
|
|
|
|
|
| Attribute | Description | Type | Default |
|
|
|
|-----------|--------------------------------------|---------|----------------|
|
|
|
-| title | Item title | String | 当前选中项文字 |
|
|
|
+| title | Item title | string | `当前选中项文字` |
|
|
|
| options | Options | Array | - |
|
|
|
-| disabled | Whether to disable dropdown item | Boolean | false |
|
|
|
-| cols | Display how many options in one line | Number | 1 |
|
|
|
+| disabled | Whether to disable dropdown item | boolean | `false` |
|
|
|
+| cols | Display how many options in one line | number | 1 |
|
|
|
|
|
|
-| direction | Expand direction, can be set to up | String | 'down' |
|
|
|
-| active-title-class | Active custome title class | String | - |
|
|
|
-| inactive-title-class | Inactive custome title class | String | - |
|
|
|
+| direction | Expand direction, can be set to up | string | `down` |
|
|
|
+| active-title-class | Active custome title class | string | - |
|
|
|
+| inactive-title-class | Inactive custome title class | string | - |
|
|
|
|
|
|
|
|
|
### MenuItem Slots
|