|
@@ -388,32 +388,32 @@ export default {
|
|
|
|
|
|
|
|
### Menu Props
|
|
### Menu Props
|
|
|
|
|
|
|
|
-| Attribute | Description | Type | Default |
|
|
|
|
|
-|--------------|----------------------------------|--------|------------------|
|
|
|
|
|
-| active-color | Active color of title and option | String | #F2270C |
|
|
|
|
|
-| close-on-click-overlay `v3.1.21` | Whether to close when overlay is clicked | Boolean | true |
|
|
|
|
|
-| scroll-fixed `v3.1.22` | Whether to fixed when window is scrolled, fixed position can be set | Boolean、String、Number | false |
|
|
|
|
|
-| title-class `v3.1.22` | Custome title class | String | - |
|
|
|
|
|
-| lock-scroll `v3.1.22` | Whether the background is locked | Boolean | true |
|
|
|
|
|
|
|
+| Attribute | Description | Type | Default |
|
|
|
|
|
+|----------------------------------|---------------------------------------------------------------------|-------------------------|---------|
|
|
|
|
|
+| active-color | Active color of title and option | String | #F2270C |
|
|
|
|
|
+| close-on-click-overlay `v3.1.21` | Whether to close when overlay is clicked | Boolean | true |
|
|
|
|
|
+| scroll-fixed `v3.1.22` | Whether to fixed when window is scrolled, fixed position can be set | Boolean、String、Number | false |
|
|
|
|
|
+| title-class `v3.1.22` | Custome title class | String | - |
|
|
|
|
|
+| lock-scroll `v3.1.22` | Whether the background is locked | Boolean | true |
|
|
|
|
|
|
|
|
### MenuItem Props
|
|
### MenuItem Props
|
|
|
|
|
|
|
|
-| Attribute | Description | Type | Default |
|
|
|
|
|
-|--------------|----------------------------------|--------|------------------|
|
|
|
|
|
-| 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 |
|
|
|
|
|
-| title-icon | Custome title icon | String | - |
|
|
|
|
|
-| option-icon `v3.1.22` | Custome option icon | String | 'Check' |
|
|
|
|
|
-| direction `v3.1.22` | Expand direction, can be set to up | String | 'down' |
|
|
|
|
|
-activeTitleClass | Active custome title class | String | - |
|
|
|
|
|
-inactiveTitleClass | Inactive custome title class | String | - |
|
|
|
|
|
|
|
+| Attribute | Description | Type | Default |
|
|
|
|
|
+|-------------------------------|--------------------------------------|---------|----------------|
|
|
|
|
|
+| 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 |
|
|
|
|
|
+| title-icon | Custome title icon | String | - |
|
|
|
|
|
+| option-icon `v3.1.22` | Custome option icon | String | 'Check' |
|
|
|
|
|
+| direction `v3.1.22` | Expand direction, can be set to up | String | 'down' |
|
|
|
|
|
+| active-title-class `v3.2.0` | Active custome title class | String | - |
|
|
|
|
|
+| inactive-title-class `v3.2.0` | Inactive custome title class | String | - |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### MenuItem Events
|
|
### MenuItem Events
|
|
|
|
|
|
|
|
-| Event | Description | Arguments |
|
|
|
|
|
-|--------|----------------|--------------|
|
|
|
|
|
-| change | Emitted select option changed | Selected value |
|
|
|
|
|
|
|
+| Event | Description | Arguments |
|
|
|
|
|
+|--------|-------------------------------|----------------|
|
|
|
|
|
+| change | Emitted select option changed | Selected value |
|