mdui 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/avatar/index.d.ts +4 -2
- package/components/avatar/index.js +3 -2
- package/components/badge/index.d.ts +4 -2
- package/components/badge/index.js +3 -2
- package/components/bottom-app-bar/index.d.ts +7 -1
- package/components/bottom-app-bar/index.js +5 -6
- package/components/button/button-base.d.ts +3 -3
- package/components/button/button-base.js +7 -5
- package/components/button/index.d.ts +6 -1
- package/components/button-icon/index.d.ts +7 -1
- package/components/button-icon/index.js +1 -2
- package/components/card/index.d.ts +7 -3
- package/components/card/index.js +3 -2
- package/components/checkbox/index.d.ts +10 -3
- package/components/checkbox/index.js +7 -7
- package/components/chip/index.d.ts +8 -1
- package/components/chip/index.js +3 -4
- package/components/circular-progress/index.d.ts +4 -2
- package/components/circular-progress/index.js +3 -2
- package/components/collapse/collapse-item.d.ts +13 -2
- package/components/collapse/collapse-item.js +5 -5
- package/components/collapse/collapse.d.ts +10 -2
- package/components/collapse/collapse.js +6 -6
- package/components/dialog/index.d.ts +9 -2
- package/components/dialog/index.js +10 -14
- package/components/divider/index.d.ts +4 -2
- package/components/divider/index.js +3 -2
- package/components/dropdown/index.d.ts +9 -2
- package/components/dropdown/index.js +17 -15
- package/components/fab/index.d.ts +6 -1
- package/components/icon/index.d.ts +4 -2
- package/components/icon/index.js +3 -2
- package/components/layout/layout-item-base.d.ts +3 -2
- package/components/layout/layout-item-base.js +2 -2
- package/components/layout/layout-item.d.ts +4 -3
- package/components/layout/layout-main.d.ts +4 -2
- package/components/layout/layout-main.js +3 -2
- package/components/layout/layout.d.ts +4 -2
- package/components/layout/layout.js +3 -2
- package/components/linear-progress/index.d.ts +4 -2
- package/components/linear-progress/index.js +3 -2
- package/components/list/list-item-style.js +1 -1
- package/components/list/list-item.d.ts +7 -3
- package/components/list/list-item.js +3 -2
- package/components/list/list-subheader.d.ts +4 -2
- package/components/list/list-subheader.js +3 -2
- package/components/list/list.d.ts +4 -2
- package/components/list/list.js +3 -2
- package/components/menu/menu-item.d.ts +11 -3
- package/components/menu/menu-item.js +9 -13
- package/components/menu/menu.d.ts +5 -2
- package/components/menu/menu.js +5 -5
- package/components/navigation-bar/navigation-bar-item.d.ts +7 -3
- package/components/navigation-bar/navigation-bar-item.js +3 -2
- package/components/navigation-bar/navigation-bar.d.ts +8 -1
- package/components/navigation-bar/navigation-bar.js +9 -7
- package/components/navigation-drawer/index.d.ts +8 -1
- package/components/navigation-drawer/index.js +7 -8
- package/components/navigation-drawer/style.js +1 -1
- package/components/navigation-rail/navigation-rail-item.d.ts +7 -3
- package/components/navigation-rail/navigation-rail-item.js +3 -2
- package/components/navigation-rail/navigation-rail.d.ts +4 -1
- package/components/navigation-rail/navigation-rail.js +4 -2
- package/components/radio/radio-group.d.ts +7 -2
- package/components/radio/radio-group.js +10 -13
- package/components/radio/radio.d.ts +8 -3
- package/components/radio/radio.js +4 -4
- package/components/range-slider/index.d.ts +9 -3
- package/components/range-slider/index.js +6 -2
- package/components/ripple/index.d.ts +4 -2
- package/components/ripple/index.js +3 -2
- package/components/ripple/ripple-mixin.d.ts +1 -1
- package/components/ripple/ripple-mixin.js +0 -1
- package/components/segmented-button/segmented-button-group-style.js +1 -1
- package/components/segmented-button/segmented-button-group.d.ts +6 -2
- package/components/segmented-button/segmented-button-group.js +9 -9
- package/components/segmented-button/segmented-button.d.ts +6 -1
- package/components/select/index.d.ts +11 -3
- package/components/select/index.js +5 -5
- package/components/slider/index.d.ts +8 -1
- package/components/slider/index.js +4 -9
- package/components/slider/slider-base.d.ts +7 -3
- package/components/slider/slider-base.js +27 -8
- package/components/snackbar/index.d.ts +9 -2
- package/components/snackbar/index.js +10 -10
- package/components/switch/index.d.ts +10 -3
- package/components/switch/index.js +7 -7
- package/components/tabs/tab-panel.d.ts +4 -2
- package/components/tabs/tab-panel.js +3 -2
- package/components/tabs/tab.d.ts +7 -3
- package/components/tabs/tab.js +3 -2
- package/components/tabs/tabs.d.ts +5 -2
- package/components/tabs/tabs.js +7 -4
- package/components/text-field/index.d.ts +11 -3
- package/components/text-field/index.js +12 -12
- package/components/tooltip/index.d.ts +9 -2
- package/components/tooltip/index.js +17 -15
- package/components/top-app-bar/top-app-bar-title.d.ts +4 -2
- package/components/top-app-bar/top-app-bar-title.js +3 -2
- package/components/top-app-bar/top-app-bar.d.ts +7 -1
- package/components/top-app-bar/top-app-bar.js +5 -6
- package/custom-elements.json +2954 -2891
- package/html-data.zh-cn.json +439 -439
- package/mdui.esm.js +8 -8
- package/mdui.global.js +8 -8
- package/package.json +3 -2
- package/web-types.zh-cn.json +765 -765
package/html-data.zh-cn.json
CHANGED
|
@@ -398,12 +398,12 @@
|
|
|
398
398
|
]
|
|
399
399
|
},
|
|
400
400
|
{
|
|
401
|
-
"name": "
|
|
401
|
+
"name": "tabindex",
|
|
402
402
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
403
403
|
"references": [
|
|
404
404
|
{
|
|
405
405
|
"name": "开发文档",
|
|
406
|
-
"url": "https://www.mdui.org/docs/2/components/button#attributes-
|
|
406
|
+
"url": "https://www.mdui.org/docs/2/components/button#attributes-tabindex"
|
|
407
407
|
}
|
|
408
408
|
]
|
|
409
409
|
},
|
|
@@ -784,12 +784,12 @@
|
|
|
784
784
|
]
|
|
785
785
|
},
|
|
786
786
|
{
|
|
787
|
-
"name": "
|
|
787
|
+
"name": "tabindex",
|
|
788
788
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
789
789
|
"references": [
|
|
790
790
|
{
|
|
791
791
|
"name": "开发文档",
|
|
792
|
-
"url": "https://www.mdui.org/docs/2/components/button-icon#attributes-
|
|
792
|
+
"url": "https://www.mdui.org/docs/2/components/button-icon#attributes-tabindex"
|
|
793
793
|
}
|
|
794
794
|
]
|
|
795
795
|
},
|
|
@@ -1146,12 +1146,12 @@
|
|
|
1146
1146
|
]
|
|
1147
1147
|
},
|
|
1148
1148
|
{
|
|
1149
|
-
"name": "
|
|
1149
|
+
"name": "tabindex",
|
|
1150
1150
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
1151
1151
|
"references": [
|
|
1152
1152
|
{
|
|
1153
1153
|
"name": "开发文档",
|
|
1154
|
-
"url": "https://www.mdui.org/docs/2/components/card#attributes-
|
|
1154
|
+
"url": "https://www.mdui.org/docs/2/components/card#attributes-tabindex"
|
|
1155
1155
|
}
|
|
1156
1156
|
]
|
|
1157
1157
|
}
|
|
@@ -1282,12 +1282,12 @@
|
|
|
1282
1282
|
]
|
|
1283
1283
|
},
|
|
1284
1284
|
{
|
|
1285
|
-
"name": "
|
|
1285
|
+
"name": "tabindex",
|
|
1286
1286
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
1287
1287
|
"references": [
|
|
1288
1288
|
{
|
|
1289
1289
|
"name": "开发文档",
|
|
1290
|
-
"url": "https://www.mdui.org/docs/2/components/checkbox#attributes-
|
|
1290
|
+
"url": "https://www.mdui.org/docs/2/components/checkbox#attributes-tabindex"
|
|
1291
1291
|
}
|
|
1292
1292
|
]
|
|
1293
1293
|
}
|
|
@@ -1542,12 +1542,12 @@
|
|
|
1542
1542
|
]
|
|
1543
1543
|
},
|
|
1544
1544
|
{
|
|
1545
|
-
"name": "
|
|
1545
|
+
"name": "tabindex",
|
|
1546
1546
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
1547
1547
|
"references": [
|
|
1548
1548
|
{
|
|
1549
1549
|
"name": "开发文档",
|
|
1550
|
-
"url": "https://www.mdui.org/docs/2/components/chip#attributes-
|
|
1550
|
+
"url": "https://www.mdui.org/docs/2/components/chip#attributes-tabindex"
|
|
1551
1551
|
}
|
|
1552
1552
|
]
|
|
1553
1553
|
},
|
|
@@ -2009,6 +2009,178 @@
|
|
|
2009
2009
|
}
|
|
2010
2010
|
]
|
|
2011
2011
|
},
|
|
2012
|
+
{
|
|
2013
|
+
"name": "mdui-dropdown",
|
|
2014
|
+
"description": "下拉组件\n\n```html\n<mdui-dropdown>\n <mdui-button slot=\"trigger\">open dropdown</mdui-button>\n <mdui-menu>\n <mdui-menu-item>Item 1</mdui-menu-item>\n <mdui-menu-item>Item 2</mdui-menu-item>\n </mdui-menu>\n</mdui-dropdown>\n```",
|
|
2015
|
+
"attributes": [
|
|
2016
|
+
{
|
|
2017
|
+
"name": "open",
|
|
2018
|
+
"description": "dropdown 是否打开",
|
|
2019
|
+
"references": [
|
|
2020
|
+
{
|
|
2021
|
+
"name": "开发文档",
|
|
2022
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-open"
|
|
2023
|
+
}
|
|
2024
|
+
]
|
|
2025
|
+
},
|
|
2026
|
+
{
|
|
2027
|
+
"name": "disabled",
|
|
2028
|
+
"description": "是否禁用 dropdown",
|
|
2029
|
+
"references": [
|
|
2030
|
+
{
|
|
2031
|
+
"name": "开发文档",
|
|
2032
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-disabled"
|
|
2033
|
+
}
|
|
2034
|
+
]
|
|
2035
|
+
},
|
|
2036
|
+
{
|
|
2037
|
+
"name": "trigger",
|
|
2038
|
+
"description": "dropdown 的触发方式,支持传入多个值,用空格分隔。可选值为:\n\n* `click`:点击时触发\n* `hover`:鼠标悬浮触发\n* `focus`:聚焦时触发\n* `contextmenu`:鼠标右键点击、或触摸长按时触发\n* `manual`:使用了该值时,只能使用编程方式打开和关闭 dropdown,且不能再指定其他触发方式",
|
|
2039
|
+
"values": [
|
|
2040
|
+
{
|
|
2041
|
+
"name": "click",
|
|
2042
|
+
"description": "点击时触发"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"name": "hover",
|
|
2046
|
+
"description": "鼠标悬浮触发"
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
"name": "focus",
|
|
2050
|
+
"description": "聚焦时触发"
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
"name": "contextmenu",
|
|
2054
|
+
"description": "鼠标右键点击、或触摸长按时触发"
|
|
2055
|
+
},
|
|
2056
|
+
{
|
|
2057
|
+
"name": "manual",
|
|
2058
|
+
"description": "使用了该值时,只能使用编程方式打开和关闭 dropdown,且不能再指定其他触发方式"
|
|
2059
|
+
}
|
|
2060
|
+
],
|
|
2061
|
+
"references": [
|
|
2062
|
+
{
|
|
2063
|
+
"name": "开发文档",
|
|
2064
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-trigger"
|
|
2065
|
+
}
|
|
2066
|
+
]
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
"name": "placement",
|
|
2070
|
+
"description": "dropdown 内容的位置。可选值为:\n\n* `auto`:自动判断位置\n* `top-start`:位于上方,且左对齐\n* `top`:位于上方,且居中对齐\n* `top-end`:位于上方,且右对齐\n* `bottom-start`:位于下方,且左对齐\n* `bottom`:位于下方,且居中对齐\n* `bottom-end`:位于下方,且右对齐\n* `left-start`:位于左侧,且顶部对齐\n* `left`:位于左侧,且居中对齐\n* `left-end`:位于左侧,且底部对齐\n* `right-start`:位于右侧,且顶部对齐\n* `right`:位于右侧,且居中对齐\n* `right-end`:位于右侧,且底部对齐",
|
|
2071
|
+
"values": [
|
|
2072
|
+
{
|
|
2073
|
+
"name": "auto",
|
|
2074
|
+
"description": "自动判断位置"
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
"name": "top-start",
|
|
2078
|
+
"description": "位于上方,且左对齐"
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"name": "top",
|
|
2082
|
+
"description": "位于上方,且居中对齐"
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "top-end",
|
|
2086
|
+
"description": "位于上方,且右对齐"
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"name": "bottom-start",
|
|
2090
|
+
"description": "位于下方,且左对齐"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"name": "bottom",
|
|
2094
|
+
"description": "位于下方,且居中对齐"
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"name": "bottom-end",
|
|
2098
|
+
"description": "位于下方,且右对齐"
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "left-start",
|
|
2102
|
+
"description": "位于左侧,且顶部对齐"
|
|
2103
|
+
},
|
|
2104
|
+
{
|
|
2105
|
+
"name": "left",
|
|
2106
|
+
"description": "位于左侧,且居中对齐"
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"name": "left-end",
|
|
2110
|
+
"description": "位于左侧,且底部对齐"
|
|
2111
|
+
},
|
|
2112
|
+
{
|
|
2113
|
+
"name": "right-start",
|
|
2114
|
+
"description": "位于右侧,且顶部对齐"
|
|
2115
|
+
},
|
|
2116
|
+
{
|
|
2117
|
+
"name": "right",
|
|
2118
|
+
"description": "位于右侧,且居中对齐"
|
|
2119
|
+
},
|
|
2120
|
+
{
|
|
2121
|
+
"name": "right-end",
|
|
2122
|
+
"description": "位于右侧,且底部对齐"
|
|
2123
|
+
}
|
|
2124
|
+
],
|
|
2125
|
+
"references": [
|
|
2126
|
+
{
|
|
2127
|
+
"name": "开发文档",
|
|
2128
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-placement"
|
|
2129
|
+
}
|
|
2130
|
+
]
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"name": "stay-open-on-click",
|
|
2134
|
+
"description": "在点击 [`<mdui-menu-item>`](https://www.mdui.org/docs/2/components/menu#menu-item-api) 元素后,是否仍保持 dropdown 为打开状态",
|
|
2135
|
+
"references": [
|
|
2136
|
+
{
|
|
2137
|
+
"name": "开发文档",
|
|
2138
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-stay-open-on-click"
|
|
2139
|
+
}
|
|
2140
|
+
]
|
|
2141
|
+
},
|
|
2142
|
+
{
|
|
2143
|
+
"name": "open-delay",
|
|
2144
|
+
"description": "通过 hover 触发 dropdown 打开时的延时,单位为毫秒",
|
|
2145
|
+
"references": [
|
|
2146
|
+
{
|
|
2147
|
+
"name": "开发文档",
|
|
2148
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-open-delay"
|
|
2149
|
+
}
|
|
2150
|
+
]
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"name": "close-delay",
|
|
2154
|
+
"description": "通过 hover 触发 dropdown 关闭时的延时,单位为毫秒",
|
|
2155
|
+
"references": [
|
|
2156
|
+
{
|
|
2157
|
+
"name": "开发文档",
|
|
2158
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-close-delay"
|
|
2159
|
+
}
|
|
2160
|
+
]
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "open-on-pointer",
|
|
2164
|
+
"description": "是否在触发 dropdown 时的光标所在的位置打开 dropdown。通常用于在打开鼠标右键菜单时使用",
|
|
2165
|
+
"references": [
|
|
2166
|
+
{
|
|
2167
|
+
"name": "开发文档",
|
|
2168
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-open-on-pointer"
|
|
2169
|
+
}
|
|
2170
|
+
]
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
2173
|
+
"references": [
|
|
2174
|
+
{
|
|
2175
|
+
"name": "开发文档",
|
|
2176
|
+
"url": "https://www.mdui.org/docs/2/components/dropdown"
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "Github",
|
|
2180
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/dropdown/index.ts"
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2183
|
+
},
|
|
2012
2184
|
{
|
|
2013
2185
|
"name": "mdui-fab",
|
|
2014
2186
|
"description": "浮动操作按钮组件\n\n```html\n<mdui-fab icon=\"edit\"></mdui-fab>\n```",
|
|
@@ -2212,12 +2384,12 @@
|
|
|
2212
2384
|
]
|
|
2213
2385
|
},
|
|
2214
2386
|
{
|
|
2215
|
-
"name": "
|
|
2387
|
+
"name": "tabindex",
|
|
2216
2388
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
2217
2389
|
"references": [
|
|
2218
2390
|
{
|
|
2219
2391
|
"name": "开发文档",
|
|
2220
|
-
"url": "https://www.mdui.org/docs/2/components/fab#attributes-
|
|
2392
|
+
"url": "https://www.mdui.org/docs/2/components/fab#attributes-tabindex"
|
|
2221
2393
|
}
|
|
2222
2394
|
]
|
|
2223
2395
|
},
|
|
@@ -2530,76 +2702,191 @@
|
|
|
2530
2702
|
]
|
|
2531
2703
|
},
|
|
2532
2704
|
{
|
|
2533
|
-
"name": "mdui-
|
|
2534
|
-
"description": "
|
|
2705
|
+
"name": "mdui-linear-progress",
|
|
2706
|
+
"description": "线性进度指示器组件\n\n```html\n<mdui-linear-progress></mdui-linear-progress>\n```",
|
|
2535
2707
|
"attributes": [
|
|
2536
2708
|
{
|
|
2537
|
-
"name": "
|
|
2538
|
-
"description": "
|
|
2709
|
+
"name": "max",
|
|
2710
|
+
"description": "进度指示器的最大值,默认为 1",
|
|
2539
2711
|
"references": [
|
|
2540
2712
|
{
|
|
2541
2713
|
"name": "开发文档",
|
|
2542
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2714
|
+
"url": "https://www.mdui.org/docs/2/components/linear-progress#attributes-max"
|
|
2543
2715
|
}
|
|
2544
2716
|
]
|
|
2545
2717
|
},
|
|
2546
2718
|
{
|
|
2547
|
-
"name": "
|
|
2548
|
-
"description": "
|
|
2719
|
+
"name": "value",
|
|
2720
|
+
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2549
2721
|
"references": [
|
|
2550
2722
|
{
|
|
2551
2723
|
"name": "开发文档",
|
|
2552
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2724
|
+
"url": "https://www.mdui.org/docs/2/components/linear-progress#attributes-value"
|
|
2553
2725
|
}
|
|
2554
2726
|
]
|
|
2727
|
+
}
|
|
2728
|
+
],
|
|
2729
|
+
"references": [
|
|
2730
|
+
{
|
|
2731
|
+
"name": "开发文档",
|
|
2732
|
+
"url": "https://www.mdui.org/docs/2/components/linear-progress"
|
|
2555
2733
|
},
|
|
2556
2734
|
{
|
|
2557
|
-
"name": "
|
|
2558
|
-
"
|
|
2735
|
+
"name": "Github",
|
|
2736
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/linear-progress/index.ts"
|
|
2737
|
+
}
|
|
2738
|
+
]
|
|
2739
|
+
},
|
|
2740
|
+
{
|
|
2741
|
+
"name": "mdui-list-item",
|
|
2742
|
+
"description": "列表项组件。需与 `<mdui-list>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
2743
|
+
"attributes": [
|
|
2744
|
+
{
|
|
2745
|
+
"name": "headline",
|
|
2746
|
+
"description": "主文本。也可以通过 default slot 设置",
|
|
2559
2747
|
"references": [
|
|
2560
2748
|
{
|
|
2561
2749
|
"name": "开发文档",
|
|
2562
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2750
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-headline"
|
|
2563
2751
|
}
|
|
2564
2752
|
]
|
|
2565
2753
|
},
|
|
2566
2754
|
{
|
|
2567
|
-
"name": "
|
|
2568
|
-
"description": "
|
|
2755
|
+
"name": "headline-line",
|
|
2756
|
+
"description": "主文本行数,超过行数限制后会截断显示。默认为没有行数限制。可选值为:\n\n* `1`:显示单行文本,超出后截断显示\n* `2`:显示两行文本,超出后截断显示\n* `3`:显示三行文本,超出后截断显示",
|
|
2757
|
+
"values": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "1",
|
|
2760
|
+
"description": "显示单行文本,超出后截断显示"
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"name": "2",
|
|
2764
|
+
"description": "显示两行文本,超出后截断显示"
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"name": "3",
|
|
2768
|
+
"description": "显示三行文本,超出后截断显示"
|
|
2769
|
+
}
|
|
2770
|
+
],
|
|
2569
2771
|
"references": [
|
|
2570
2772
|
{
|
|
2571
2773
|
"name": "开发文档",
|
|
2572
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2774
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-headline-line"
|
|
2573
2775
|
}
|
|
2574
2776
|
]
|
|
2575
2777
|
},
|
|
2576
2778
|
{
|
|
2577
|
-
"name": "
|
|
2578
|
-
"description": "
|
|
2779
|
+
"name": "description",
|
|
2780
|
+
"description": "副文本。也可以通过 `slot=\"description\"` 设置",
|
|
2579
2781
|
"references": [
|
|
2580
2782
|
{
|
|
2581
2783
|
"name": "开发文档",
|
|
2582
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2784
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-description"
|
|
2583
2785
|
}
|
|
2584
2786
|
]
|
|
2585
2787
|
},
|
|
2586
2788
|
{
|
|
2587
|
-
"name": "
|
|
2588
|
-
"description": "
|
|
2789
|
+
"name": "description-line",
|
|
2790
|
+
"description": "副文本行数,超过行数限制后会截断显示。默认为没有行数限制。可选值为:\n\n* `1`:显示单行文本,超出后截断显示\n* `2`:显示两行文本,超出后截断显示\n* `3`:显示三行文本,超出后截断显示",
|
|
2791
|
+
"values": [
|
|
2792
|
+
{
|
|
2793
|
+
"name": "1"
|
|
2794
|
+
},
|
|
2795
|
+
{
|
|
2796
|
+
"name": "2"
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"name": "3"
|
|
2800
|
+
}
|
|
2801
|
+
],
|
|
2589
2802
|
"references": [
|
|
2590
2803
|
{
|
|
2591
2804
|
"name": "开发文档",
|
|
2592
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2805
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-description-line"
|
|
2593
2806
|
}
|
|
2594
2807
|
]
|
|
2595
2808
|
},
|
|
2596
2809
|
{
|
|
2597
|
-
"name": "
|
|
2598
|
-
"description": "
|
|
2599
|
-
"references": [
|
|
2810
|
+
"name": "icon",
|
|
2811
|
+
"description": "左侧的 Material Icons 图标名。也可以通过 `slot=\"icon\"` 设置",
|
|
2812
|
+
"references": [
|
|
2600
2813
|
{
|
|
2601
2814
|
"name": "开发文档",
|
|
2602
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2815
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-icon"
|
|
2816
|
+
}
|
|
2817
|
+
]
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"name": "end-icon",
|
|
2821
|
+
"description": "右侧的 Material Icons 图标名。也可以通过 `slot=\"end-icon\"` 设置",
|
|
2822
|
+
"references": [
|
|
2823
|
+
{
|
|
2824
|
+
"name": "开发文档",
|
|
2825
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-end-icon"
|
|
2826
|
+
}
|
|
2827
|
+
]
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"name": "disabled",
|
|
2831
|
+
"description": "是否禁用该列表项,列表项将置灰,且其中的 [`<mdui-checkbox>`](https://www.mdui.org/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等都将禁用",
|
|
2832
|
+
"references": [
|
|
2833
|
+
{
|
|
2834
|
+
"name": "开发文档",
|
|
2835
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-disabled"
|
|
2836
|
+
}
|
|
2837
|
+
]
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"name": "active",
|
|
2841
|
+
"description": "是否激活该列表项",
|
|
2842
|
+
"references": [
|
|
2843
|
+
{
|
|
2844
|
+
"name": "开发文档",
|
|
2845
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-active"
|
|
2846
|
+
}
|
|
2847
|
+
]
|
|
2848
|
+
},
|
|
2849
|
+
{
|
|
2850
|
+
"name": "nonclickable",
|
|
2851
|
+
"description": "是否使列表项不可点击,但其中的 [`<mdui-checkbox>`](https://www.mdui.org/docs/2/components/checkbox)、[`<mdui-radio>`](/docs/2/components/radio)、[`<mdui-switch>`](/docs/2/components/switch) 等仍可进行交互",
|
|
2852
|
+
"references": [
|
|
2853
|
+
{
|
|
2854
|
+
"name": "开发文档",
|
|
2855
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-nonclickable"
|
|
2856
|
+
}
|
|
2857
|
+
]
|
|
2858
|
+
},
|
|
2859
|
+
{
|
|
2860
|
+
"name": "rounded",
|
|
2861
|
+
"description": "使用圆角形状的列表项",
|
|
2862
|
+
"references": [
|
|
2863
|
+
{
|
|
2864
|
+
"name": "开发文档",
|
|
2865
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-rounded"
|
|
2866
|
+
}
|
|
2867
|
+
]
|
|
2868
|
+
},
|
|
2869
|
+
{
|
|
2870
|
+
"name": "alignment",
|
|
2871
|
+
"description": "列表项的垂直对齐方式。可选值为:\n\n* `start`:顶部对齐\n* `center`:居中对齐\n* `end`:底部对齐",
|
|
2872
|
+
"values": [
|
|
2873
|
+
{
|
|
2874
|
+
"name": "start",
|
|
2875
|
+
"description": "顶部对齐"
|
|
2876
|
+
},
|
|
2877
|
+
{
|
|
2878
|
+
"name": "center",
|
|
2879
|
+
"description": "居中对齐"
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"name": "end",
|
|
2883
|
+
"description": "底部对齐"
|
|
2884
|
+
}
|
|
2885
|
+
],
|
|
2886
|
+
"references": [
|
|
2887
|
+
{
|
|
2888
|
+
"name": "开发文档",
|
|
2889
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-alignment"
|
|
2603
2890
|
}
|
|
2604
2891
|
]
|
|
2605
2892
|
},
|
|
@@ -2609,7 +2896,7 @@
|
|
|
2609
2896
|
"references": [
|
|
2610
2897
|
{
|
|
2611
2898
|
"name": "开发文档",
|
|
2612
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2899
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-href"
|
|
2613
2900
|
}
|
|
2614
2901
|
]
|
|
2615
2902
|
},
|
|
@@ -2619,7 +2906,7 @@
|
|
|
2619
2906
|
"references": [
|
|
2620
2907
|
{
|
|
2621
2908
|
"name": "开发文档",
|
|
2622
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2909
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-download"
|
|
2623
2910
|
}
|
|
2624
2911
|
]
|
|
2625
2912
|
},
|
|
@@ -2647,7 +2934,7 @@
|
|
|
2647
2934
|
"references": [
|
|
2648
2935
|
{
|
|
2649
2936
|
"name": "开发文档",
|
|
2650
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2937
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-target"
|
|
2651
2938
|
}
|
|
2652
2939
|
]
|
|
2653
2940
|
},
|
|
@@ -2715,7 +3002,7 @@
|
|
|
2715
3002
|
"references": [
|
|
2716
3003
|
{
|
|
2717
3004
|
"name": "开发文档",
|
|
2718
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3005
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-rel"
|
|
2719
3006
|
}
|
|
2720
3007
|
]
|
|
2721
3008
|
},
|
|
@@ -2725,17 +3012,17 @@
|
|
|
2725
3012
|
"references": [
|
|
2726
3013
|
{
|
|
2727
3014
|
"name": "开发文档",
|
|
2728
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3015
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-autofocus"
|
|
2729
3016
|
}
|
|
2730
3017
|
]
|
|
2731
3018
|
},
|
|
2732
3019
|
{
|
|
2733
|
-
"name": "
|
|
3020
|
+
"name": "tabindex",
|
|
2734
3021
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
2735
3022
|
"references": [
|
|
2736
3023
|
{
|
|
2737
3024
|
"name": "开发文档",
|
|
2738
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3025
|
+
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-tabindex"
|
|
2739
3026
|
}
|
|
2740
3027
|
]
|
|
2741
3028
|
}
|
|
@@ -2743,304 +3030,113 @@
|
|
|
2743
3030
|
"references": [
|
|
2744
3031
|
{
|
|
2745
3032
|
"name": "开发文档",
|
|
2746
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3033
|
+
"url": "https://www.mdui.org/docs/2/components/list"
|
|
2747
3034
|
},
|
|
2748
3035
|
{
|
|
2749
3036
|
"name": "Github",
|
|
2750
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/
|
|
3037
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/list/list-item.ts"
|
|
2751
3038
|
}
|
|
2752
3039
|
]
|
|
2753
3040
|
},
|
|
2754
3041
|
{
|
|
2755
|
-
"name": "mdui-
|
|
2756
|
-
"description": "
|
|
2757
|
-
"attributes": [
|
|
2758
|
-
{
|
|
2759
|
-
"name": "selects",
|
|
2760
|
-
"description": "菜单项的可选中状态。默认为不可选中。可选值为:\n\n* `single`:最多只能选中一个\n* `multiple`:可以选中多个",
|
|
2761
|
-
"values": [
|
|
2762
|
-
{
|
|
2763
|
-
"name": "single",
|
|
2764
|
-
"description": "最多只能选中一个"
|
|
2765
|
-
},
|
|
2766
|
-
{
|
|
2767
|
-
"name": "multiple",
|
|
2768
|
-
"description": "可以选中多个"
|
|
2769
|
-
}
|
|
2770
|
-
],
|
|
2771
|
-
"references": [
|
|
2772
|
-
{
|
|
2773
|
-
"name": "开发文档",
|
|
2774
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-selects"
|
|
2775
|
-
}
|
|
2776
|
-
]
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
"name": "value",
|
|
2780
|
-
"description": "当前选中的 `<mdui-menu-item>` 的值\n\nNote:\n该属性的 HTML 属性始终为字符串,且仅在 `selects=\"single\"` 时可以通过 HTML 属性设置初始值;\n该属性的 JavaScript 属性值在 `selects=\"single\"` 时为字符串、在 `selects=\"multiple\"` 时为字符串数组。\n所以,在 `selects=\"multiple\"` 时,如果要修改该值,只能通过修改 JavaScript 属性值实现。",
|
|
2781
|
-
"references": [
|
|
2782
|
-
{
|
|
2783
|
-
"name": "开发文档",
|
|
2784
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-value"
|
|
2785
|
-
}
|
|
2786
|
-
]
|
|
2787
|
-
},
|
|
2788
|
-
{
|
|
2789
|
-
"name": "dense",
|
|
2790
|
-
"description": "菜单项是否使用更紧凑的布局",
|
|
2791
|
-
"references": [
|
|
2792
|
-
{
|
|
2793
|
-
"name": "开发文档",
|
|
2794
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-dense"
|
|
2795
|
-
}
|
|
2796
|
-
]
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"name": "submenu-trigger",
|
|
2800
|
-
"description": "子菜单的触发方式,支持传入多个值,用空格分隔。可选值为:\n\n* `click`:点击菜单项时打开子菜单\n* `hover`:鼠标悬浮到菜单项上时打开子菜单\n* `focus`:聚焦到菜单项上时打开子菜单\n* `manual`:使用了该值时,只能使用编程方式打开和关闭子菜单,且不能再指定其他触发方式",
|
|
2801
|
-
"values": [
|
|
2802
|
-
{
|
|
2803
|
-
"name": "click",
|
|
2804
|
-
"description": "点击菜单项时打开子菜单"
|
|
2805
|
-
},
|
|
2806
|
-
{
|
|
2807
|
-
"name": "hover",
|
|
2808
|
-
"description": "鼠标悬浮到菜单项上时打开子菜单"
|
|
2809
|
-
},
|
|
2810
|
-
{
|
|
2811
|
-
"name": "focus",
|
|
2812
|
-
"description": "聚焦到菜单项上时打开子菜单"
|
|
2813
|
-
},
|
|
2814
|
-
{
|
|
2815
|
-
"name": "manual",
|
|
2816
|
-
"description": "使用了该值时,只能使用编程方式打开和关闭子菜单,且不能再指定其他触发方式"
|
|
2817
|
-
}
|
|
2818
|
-
],
|
|
2819
|
-
"references": [
|
|
2820
|
-
{
|
|
2821
|
-
"name": "开发文档",
|
|
2822
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-trigger"
|
|
2823
|
-
}
|
|
2824
|
-
]
|
|
2825
|
-
},
|
|
2826
|
-
{
|
|
2827
|
-
"name": "submenu-open-delay",
|
|
2828
|
-
"description": "通过 hover 触发子菜单打开时的延时,单位为毫秒",
|
|
2829
|
-
"references": [
|
|
2830
|
-
{
|
|
2831
|
-
"name": "开发文档",
|
|
2832
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-open-delay"
|
|
2833
|
-
}
|
|
2834
|
-
]
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"name": "submenu-close-delay",
|
|
2838
|
-
"description": "通过 hover 触发子菜单关闭时的延时,单位为毫秒",
|
|
2839
|
-
"references": [
|
|
2840
|
-
{
|
|
2841
|
-
"name": "开发文档",
|
|
2842
|
-
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-close-delay"
|
|
2843
|
-
}
|
|
2844
|
-
]
|
|
2845
|
-
}
|
|
2846
|
-
],
|
|
3042
|
+
"name": "mdui-list-subheader",
|
|
3043
|
+
"description": "列表标题组件。需与 `<mdui-list>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
2847
3044
|
"references": [
|
|
2848
3045
|
{
|
|
2849
3046
|
"name": "开发文档",
|
|
2850
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3047
|
+
"url": "https://www.mdui.org/docs/2/components/list"
|
|
2851
3048
|
},
|
|
2852
3049
|
{
|
|
2853
3050
|
"name": "Github",
|
|
2854
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/
|
|
3051
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/list/list-subheader.ts"
|
|
2855
3052
|
}
|
|
2856
3053
|
]
|
|
2857
3054
|
},
|
|
2858
3055
|
{
|
|
2859
|
-
"name": "mdui-
|
|
2860
|
-
"description": "
|
|
2861
|
-
"attributes": [
|
|
2862
|
-
{
|
|
2863
|
-
"name": "max",
|
|
2864
|
-
"description": "进度指示器的最大值,默认为 1",
|
|
2865
|
-
"references": [
|
|
2866
|
-
{
|
|
2867
|
-
"name": "开发文档",
|
|
2868
|
-
"url": "https://www.mdui.org/docs/2/components/linear-progress#attributes-max"
|
|
2869
|
-
}
|
|
2870
|
-
]
|
|
2871
|
-
},
|
|
2872
|
-
{
|
|
2873
|
-
"name": "value",
|
|
2874
|
-
"description": "进度指示器的当前值。若未指定该值,则为不确定状态",
|
|
2875
|
-
"references": [
|
|
2876
|
-
{
|
|
2877
|
-
"name": "开发文档",
|
|
2878
|
-
"url": "https://www.mdui.org/docs/2/components/linear-progress#attributes-value"
|
|
2879
|
-
}
|
|
2880
|
-
]
|
|
2881
|
-
}
|
|
2882
|
-
],
|
|
3056
|
+
"name": "mdui-list",
|
|
3057
|
+
"description": "列表组件。需与 `<mdui-list-item>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
2883
3058
|
"references": [
|
|
2884
3059
|
{
|
|
2885
3060
|
"name": "开发文档",
|
|
2886
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
2887
|
-
},
|
|
2888
|
-
{
|
|
2889
|
-
"name": "Github",
|
|
2890
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/linear-progress/index.ts"
|
|
2891
|
-
}
|
|
2892
|
-
]
|
|
2893
|
-
},
|
|
2894
|
-
{
|
|
2895
|
-
"name": "mdui-list-item",
|
|
2896
|
-
"description": "列表项组件。需与 `<mdui-list>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
2897
|
-
"attributes": [
|
|
2898
|
-
{
|
|
2899
|
-
"name": "headline",
|
|
2900
|
-
"description": "主文本。也可以通过 default slot 设置",
|
|
2901
|
-
"references": [
|
|
2902
|
-
{
|
|
2903
|
-
"name": "开发文档",
|
|
2904
|
-
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-headline"
|
|
2905
|
-
}
|
|
2906
|
-
]
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"name": "headline-line",
|
|
2910
|
-
"description": "主文本行数,超过行数限制后会截断显示。默认为没有行数限制。可选值为:\n\n* `1`:显示单行文本,超出后截断显示\n* `2`:显示两行文本,超出后截断显示\n* `3`:显示三行文本,超出后截断显示",
|
|
2911
|
-
"values": [
|
|
2912
|
-
{
|
|
2913
|
-
"name": "1",
|
|
2914
|
-
"description": "显示单行文本,超出后截断显示"
|
|
2915
|
-
},
|
|
2916
|
-
{
|
|
2917
|
-
"name": "2",
|
|
2918
|
-
"description": "显示两行文本,超出后截断显示"
|
|
2919
|
-
},
|
|
2920
|
-
{
|
|
2921
|
-
"name": "3",
|
|
2922
|
-
"description": "显示三行文本,超出后截断显示"
|
|
2923
|
-
}
|
|
2924
|
-
],
|
|
2925
|
-
"references": [
|
|
2926
|
-
{
|
|
2927
|
-
"name": "开发文档",
|
|
2928
|
-
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-headline-line"
|
|
2929
|
-
}
|
|
2930
|
-
]
|
|
2931
|
-
},
|
|
2932
|
-
{
|
|
2933
|
-
"name": "description",
|
|
2934
|
-
"description": "副文本。也可以通过 `slot=\"description\"` 设置",
|
|
2935
|
-
"references": [
|
|
2936
|
-
{
|
|
2937
|
-
"name": "开发文档",
|
|
2938
|
-
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-description"
|
|
2939
|
-
}
|
|
2940
|
-
]
|
|
2941
|
-
},
|
|
2942
|
-
{
|
|
2943
|
-
"name": "description-line",
|
|
2944
|
-
"description": "副文本行数,超过行数限制后会截断显示。默认为没有行数限制。可选值为:\n\n* `1`:显示单行文本,超出后截断显示\n* `2`:显示两行文本,超出后截断显示\n* `3`:显示三行文本,超出后截断显示",
|
|
2945
|
-
"values": [
|
|
2946
|
-
{
|
|
2947
|
-
"name": "1"
|
|
2948
|
-
},
|
|
2949
|
-
{
|
|
2950
|
-
"name": "2"
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"name": "3"
|
|
2954
|
-
}
|
|
2955
|
-
],
|
|
2956
|
-
"references": [
|
|
2957
|
-
{
|
|
2958
|
-
"name": "开发文档",
|
|
2959
|
-
"url": "https://www.mdui.org/docs/2/components/list#list-item-attributes-description-line"
|
|
2960
|
-
}
|
|
2961
|
-
]
|
|
3061
|
+
"url": "https://www.mdui.org/docs/2/components/list"
|
|
2962
3062
|
},
|
|
2963
3063
|
{
|
|
2964
|
-
"name": "
|
|
2965
|
-
"
|
|
3064
|
+
"name": "Github",
|
|
3065
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/list/list.ts"
|
|
3066
|
+
}
|
|
3067
|
+
]
|
|
3068
|
+
},
|
|
3069
|
+
{
|
|
3070
|
+
"name": "mdui-menu-item",
|
|
3071
|
+
"description": "菜单项组件\n\n```html\n<mdui-menu>\n <mdui-menu-item>Item 1</mdui-menu-item>\n <mdui-menu-item>Item 2</mdui-menu-item>\n</mdui-menu>\n```",
|
|
3072
|
+
"attributes": [
|
|
3073
|
+
{
|
|
3074
|
+
"name": "value",
|
|
3075
|
+
"description": "该菜单项的值",
|
|
2966
3076
|
"references": [
|
|
2967
3077
|
{
|
|
2968
3078
|
"name": "开发文档",
|
|
2969
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3079
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-value"
|
|
2970
3080
|
}
|
|
2971
3081
|
]
|
|
2972
3082
|
},
|
|
2973
3083
|
{
|
|
2974
|
-
"name": "
|
|
2975
|
-
"description": "
|
|
3084
|
+
"name": "disabled",
|
|
3085
|
+
"description": "是否禁用该菜单项",
|
|
2976
3086
|
"references": [
|
|
2977
3087
|
{
|
|
2978
3088
|
"name": "开发文档",
|
|
2979
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3089
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-disabled"
|
|
2980
3090
|
}
|
|
2981
3091
|
]
|
|
2982
3092
|
},
|
|
2983
3093
|
{
|
|
2984
|
-
"name": "
|
|
2985
|
-
"description": "
|
|
3094
|
+
"name": "icon",
|
|
3095
|
+
"description": "左侧的 Material Icons 图标名。也可以通过 `slot=\"icon\"` 设置\n\n如果需要在左侧留出一个图标的位置,可以传入空字符串进行占位",
|
|
2986
3096
|
"references": [
|
|
2987
3097
|
{
|
|
2988
3098
|
"name": "开发文档",
|
|
2989
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3099
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-icon"
|
|
2990
3100
|
}
|
|
2991
3101
|
]
|
|
2992
3102
|
},
|
|
2993
3103
|
{
|
|
2994
|
-
"name": "
|
|
2995
|
-
"description": "
|
|
3104
|
+
"name": "end-icon",
|
|
3105
|
+
"description": "右侧的 Material Icons 图标名。也可以通过 `slot=\"end-icon\"` 设置",
|
|
2996
3106
|
"references": [
|
|
2997
3107
|
{
|
|
2998
3108
|
"name": "开发文档",
|
|
2999
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3109
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-end-icon"
|
|
3000
3110
|
}
|
|
3001
3111
|
]
|
|
3002
3112
|
},
|
|
3003
3113
|
{
|
|
3004
|
-
"name": "
|
|
3005
|
-
"description": "
|
|
3114
|
+
"name": "end-text",
|
|
3115
|
+
"description": "右侧的文本。也可以通过 `slot=\"end-text\"` 设置",
|
|
3006
3116
|
"references": [
|
|
3007
3117
|
{
|
|
3008
3118
|
"name": "开发文档",
|
|
3009
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3119
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-end-text"
|
|
3010
3120
|
}
|
|
3011
3121
|
]
|
|
3012
3122
|
},
|
|
3013
3123
|
{
|
|
3014
|
-
"name": "
|
|
3015
|
-
"description": "
|
|
3124
|
+
"name": "selected-icon",
|
|
3125
|
+
"description": "选中状态的 Material Icons 图标名。也可以通过 `slot=\"selected-icon\"` 设置",
|
|
3016
3126
|
"references": [
|
|
3017
3127
|
{
|
|
3018
3128
|
"name": "开发文档",
|
|
3019
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3129
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-selected-icon"
|
|
3020
3130
|
}
|
|
3021
3131
|
]
|
|
3022
3132
|
},
|
|
3023
3133
|
{
|
|
3024
|
-
"name": "
|
|
3025
|
-
"description": "
|
|
3026
|
-
"values": [
|
|
3027
|
-
{
|
|
3028
|
-
"name": "start",
|
|
3029
|
-
"description": "顶部对齐"
|
|
3030
|
-
},
|
|
3031
|
-
{
|
|
3032
|
-
"name": "center",
|
|
3033
|
-
"description": "居中对齐"
|
|
3034
|
-
},
|
|
3035
|
-
{
|
|
3036
|
-
"name": "end",
|
|
3037
|
-
"description": "底部对齐"
|
|
3038
|
-
}
|
|
3039
|
-
],
|
|
3134
|
+
"name": "submenu-open",
|
|
3135
|
+
"description": "是否打开子菜单",
|
|
3040
3136
|
"references": [
|
|
3041
3137
|
{
|
|
3042
3138
|
"name": "开发文档",
|
|
3043
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3139
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-submenu-open"
|
|
3044
3140
|
}
|
|
3045
3141
|
]
|
|
3046
3142
|
},
|
|
@@ -3050,7 +3146,7 @@
|
|
|
3050
3146
|
"references": [
|
|
3051
3147
|
{
|
|
3052
3148
|
"name": "开发文档",
|
|
3053
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3149
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-href"
|
|
3054
3150
|
}
|
|
3055
3151
|
]
|
|
3056
3152
|
},
|
|
@@ -3060,7 +3156,7 @@
|
|
|
3060
3156
|
"references": [
|
|
3061
3157
|
{
|
|
3062
3158
|
"name": "开发文档",
|
|
3063
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3159
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-download"
|
|
3064
3160
|
}
|
|
3065
3161
|
]
|
|
3066
3162
|
},
|
|
@@ -3088,7 +3184,7 @@
|
|
|
3088
3184
|
"references": [
|
|
3089
3185
|
{
|
|
3090
3186
|
"name": "开发文档",
|
|
3091
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3187
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-target"
|
|
3092
3188
|
}
|
|
3093
3189
|
]
|
|
3094
3190
|
},
|
|
@@ -3156,7 +3252,7 @@
|
|
|
3156
3252
|
"references": [
|
|
3157
3253
|
{
|
|
3158
3254
|
"name": "开发文档",
|
|
3159
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3255
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-rel"
|
|
3160
3256
|
}
|
|
3161
3257
|
]
|
|
3162
3258
|
},
|
|
@@ -3166,17 +3262,17 @@
|
|
|
3166
3262
|
"references": [
|
|
3167
3263
|
{
|
|
3168
3264
|
"name": "开发文档",
|
|
3169
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3265
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-autofocus"
|
|
3170
3266
|
}
|
|
3171
3267
|
]
|
|
3172
3268
|
},
|
|
3173
3269
|
{
|
|
3174
|
-
"name": "
|
|
3270
|
+
"name": "tabindex",
|
|
3175
3271
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
3176
3272
|
"references": [
|
|
3177
3273
|
{
|
|
3178
3274
|
"name": "开发文档",
|
|
3179
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3275
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-item-attributes-tabindex"
|
|
3180
3276
|
}
|
|
3181
3277
|
]
|
|
3182
3278
|
}
|
|
@@ -3184,199 +3280,103 @@
|
|
|
3184
3280
|
"references": [
|
|
3185
3281
|
{
|
|
3186
3282
|
"name": "开发文档",
|
|
3187
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3188
|
-
},
|
|
3189
|
-
{
|
|
3190
|
-
"name": "Github",
|
|
3191
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/list/list-item.ts"
|
|
3192
|
-
}
|
|
3193
|
-
]
|
|
3194
|
-
},
|
|
3195
|
-
{
|
|
3196
|
-
"name": "mdui-list-subheader",
|
|
3197
|
-
"description": "列表标题组件。需与 `<mdui-list>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
3198
|
-
"references": [
|
|
3199
|
-
{
|
|
3200
|
-
"name": "开发文档",
|
|
3201
|
-
"url": "https://www.mdui.org/docs/2/components/list"
|
|
3202
|
-
},
|
|
3203
|
-
{
|
|
3204
|
-
"name": "Github",
|
|
3205
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/list/list-subheader.ts"
|
|
3206
|
-
}
|
|
3207
|
-
]
|
|
3208
|
-
},
|
|
3209
|
-
{
|
|
3210
|
-
"name": "mdui-list",
|
|
3211
|
-
"description": "列表组件。需与 `<mdui-list-item>` 组件配合使用\n\n```html\n<mdui-list>\n <mdui-list-subheader>Subheader</mdui-list-subheader>\n <mdui-list-item>Item 1</mdui-list-item>\n <mdui-list-item>Item 2</mdui-list-item>\n</mdui-list>\n```",
|
|
3212
|
-
"references": [
|
|
3213
|
-
{
|
|
3214
|
-
"name": "开发文档",
|
|
3215
|
-
"url": "https://www.mdui.org/docs/2/components/list"
|
|
3283
|
+
"url": "https://www.mdui.org/docs/2/components/menu"
|
|
3216
3284
|
},
|
|
3217
3285
|
{
|
|
3218
3286
|
"name": "Github",
|
|
3219
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/
|
|
3287
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/menu/menu-item.ts"
|
|
3220
3288
|
}
|
|
3221
3289
|
]
|
|
3222
3290
|
},
|
|
3223
3291
|
{
|
|
3224
|
-
"name": "mdui-
|
|
3225
|
-
"description": "
|
|
3292
|
+
"name": "mdui-menu",
|
|
3293
|
+
"description": "菜单组件。需与 `<mdui-menu-item>` 组件配合使用\n\n```html\n<mdui-menu>\n <mdui-menu-item>Item 1</mdui-menu-item>\n <mdui-menu-item>Item 2</mdui-menu-item>\n</mdui-menu>\n```",
|
|
3226
3294
|
"attributes": [
|
|
3227
3295
|
{
|
|
3228
|
-
"name": "
|
|
3229
|
-
"description": "
|
|
3296
|
+
"name": "selects",
|
|
3297
|
+
"description": "菜单项的可选中状态。默认为不可选中。可选值为:\n\n* `single`:最多只能选中一个\n* `multiple`:可以选中多个",
|
|
3298
|
+
"values": [
|
|
3299
|
+
{
|
|
3300
|
+
"name": "single",
|
|
3301
|
+
"description": "最多只能选中一个"
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"name": "multiple",
|
|
3305
|
+
"description": "可以选中多个"
|
|
3306
|
+
}
|
|
3307
|
+
],
|
|
3230
3308
|
"references": [
|
|
3231
3309
|
{
|
|
3232
3310
|
"name": "开发文档",
|
|
3233
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3311
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-selects"
|
|
3234
3312
|
}
|
|
3235
3313
|
]
|
|
3236
3314
|
},
|
|
3237
3315
|
{
|
|
3238
|
-
"name": "
|
|
3239
|
-
"description": "
|
|
3316
|
+
"name": "value",
|
|
3317
|
+
"description": "当前选中的 `<mdui-menu-item>` 的值\n\nNote:\n该属性的 HTML 属性始终为字符串,且仅在 `selects=\"single\"` 时可以通过 HTML 属性设置初始值;\n该属性的 JavaScript 属性值在 `selects=\"single\"` 时为字符串、在 `selects=\"multiple\"` 时为字符串数组。\n所以,在 `selects=\"multiple\"` 时,如果要修改该值,只能通过修改 JavaScript 属性值实现。",
|
|
3240
3318
|
"references": [
|
|
3241
3319
|
{
|
|
3242
3320
|
"name": "开发文档",
|
|
3243
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3321
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-value"
|
|
3244
3322
|
}
|
|
3245
3323
|
]
|
|
3246
3324
|
},
|
|
3247
3325
|
{
|
|
3248
|
-
"name": "
|
|
3249
|
-
"description": "
|
|
3250
|
-
"values": [
|
|
3251
|
-
{
|
|
3252
|
-
"name": "click",
|
|
3253
|
-
"description": "点击时触发"
|
|
3254
|
-
},
|
|
3255
|
-
{
|
|
3256
|
-
"name": "hover",
|
|
3257
|
-
"description": "鼠标悬浮触发"
|
|
3258
|
-
},
|
|
3259
|
-
{
|
|
3260
|
-
"name": "focus",
|
|
3261
|
-
"description": "聚焦时触发"
|
|
3262
|
-
},
|
|
3263
|
-
{
|
|
3264
|
-
"name": "contextmenu",
|
|
3265
|
-
"description": "鼠标右键点击、或触摸长按时触发"
|
|
3266
|
-
},
|
|
3267
|
-
{
|
|
3268
|
-
"name": "manual",
|
|
3269
|
-
"description": "使用了该值时,只能使用编程方式打开和关闭 dropdown,且不能再指定其他触发方式"
|
|
3270
|
-
}
|
|
3271
|
-
],
|
|
3326
|
+
"name": "dense",
|
|
3327
|
+
"description": "菜单项是否使用更紧凑的布局",
|
|
3272
3328
|
"references": [
|
|
3273
3329
|
{
|
|
3274
3330
|
"name": "开发文档",
|
|
3275
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3331
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-dense"
|
|
3276
3332
|
}
|
|
3277
3333
|
]
|
|
3278
3334
|
},
|
|
3279
3335
|
{
|
|
3280
|
-
"name": "
|
|
3281
|
-
"description": "
|
|
3336
|
+
"name": "submenu-trigger",
|
|
3337
|
+
"description": "子菜单的触发方式,支持传入多个值,用空格分隔。可选值为:\n\n* `click`:点击菜单项时打开子菜单\n* `hover`:鼠标悬浮到菜单项上时打开子菜单\n* `focus`:聚焦到菜单项上时打开子菜单\n* `manual`:使用了该值时,只能使用编程方式打开和关闭子菜单,且不能再指定其他触发方式",
|
|
3282
3338
|
"values": [
|
|
3283
3339
|
{
|
|
3284
|
-
"name": "
|
|
3285
|
-
"description": "
|
|
3286
|
-
},
|
|
3287
|
-
{
|
|
3288
|
-
"name": "top-start",
|
|
3289
|
-
"description": "位于上方,且左对齐"
|
|
3290
|
-
},
|
|
3291
|
-
{
|
|
3292
|
-
"name": "top",
|
|
3293
|
-
"description": "位于上方,且居中对齐"
|
|
3294
|
-
},
|
|
3295
|
-
{
|
|
3296
|
-
"name": "top-end",
|
|
3297
|
-
"description": "位于上方,且右对齐"
|
|
3298
|
-
},
|
|
3299
|
-
{
|
|
3300
|
-
"name": "bottom-start",
|
|
3301
|
-
"description": "位于下方,且左对齐"
|
|
3302
|
-
},
|
|
3303
|
-
{
|
|
3304
|
-
"name": "bottom",
|
|
3305
|
-
"description": "位于下方,且居中对齐"
|
|
3306
|
-
},
|
|
3307
|
-
{
|
|
3308
|
-
"name": "bottom-end",
|
|
3309
|
-
"description": "位于下方,且右对齐"
|
|
3310
|
-
},
|
|
3311
|
-
{
|
|
3312
|
-
"name": "left-start",
|
|
3313
|
-
"description": "位于左侧,且顶部对齐"
|
|
3314
|
-
},
|
|
3315
|
-
{
|
|
3316
|
-
"name": "left",
|
|
3317
|
-
"description": "位于左侧,且居中对齐"
|
|
3318
|
-
},
|
|
3319
|
-
{
|
|
3320
|
-
"name": "left-end",
|
|
3321
|
-
"description": "位于左侧,且底部对齐"
|
|
3340
|
+
"name": "click",
|
|
3341
|
+
"description": "点击菜单项时打开子菜单"
|
|
3322
3342
|
},
|
|
3323
3343
|
{
|
|
3324
|
-
"name": "
|
|
3325
|
-
"description": "
|
|
3344
|
+
"name": "hover",
|
|
3345
|
+
"description": "鼠标悬浮到菜单项上时打开子菜单"
|
|
3326
3346
|
},
|
|
3327
3347
|
{
|
|
3328
|
-
"name": "
|
|
3329
|
-
"description": "
|
|
3348
|
+
"name": "focus",
|
|
3349
|
+
"description": "聚焦到菜单项上时打开子菜单"
|
|
3330
3350
|
},
|
|
3331
3351
|
{
|
|
3332
|
-
"name": "
|
|
3333
|
-
"description": "
|
|
3352
|
+
"name": "manual",
|
|
3353
|
+
"description": "使用了该值时,只能使用编程方式打开和关闭子菜单,且不能再指定其他触发方式"
|
|
3334
3354
|
}
|
|
3335
3355
|
],
|
|
3336
3356
|
"references": [
|
|
3337
3357
|
{
|
|
3338
3358
|
"name": "开发文档",
|
|
3339
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3340
|
-
}
|
|
3341
|
-
]
|
|
3342
|
-
},
|
|
3343
|
-
{
|
|
3344
|
-
"name": "stay-open-on-click",
|
|
3345
|
-
"description": "在点击 [`<mdui-menu-item>`](https://www.mdui.org/docs/2/components/menu#menu-item-api) 元素后,是否仍保持 dropdown 为打开状态",
|
|
3346
|
-
"references": [
|
|
3347
|
-
{
|
|
3348
|
-
"name": "开发文档",
|
|
3349
|
-
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-stay-open-on-click"
|
|
3350
|
-
}
|
|
3351
|
-
]
|
|
3352
|
-
},
|
|
3353
|
-
{
|
|
3354
|
-
"name": "open-delay",
|
|
3355
|
-
"description": "通过 hover 触发 dropdown 打开时的延时,单位为毫秒",
|
|
3356
|
-
"references": [
|
|
3357
|
-
{
|
|
3358
|
-
"name": "开发文档",
|
|
3359
|
-
"url": "https://www.mdui.org/docs/2/components/dropdown#attributes-open-delay"
|
|
3359
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-trigger"
|
|
3360
3360
|
}
|
|
3361
3361
|
]
|
|
3362
3362
|
},
|
|
3363
3363
|
{
|
|
3364
|
-
"name": "
|
|
3365
|
-
"description": "通过 hover
|
|
3364
|
+
"name": "submenu-open-delay",
|
|
3365
|
+
"description": "通过 hover 触发子菜单打开时的延时,单位为毫秒",
|
|
3366
3366
|
"references": [
|
|
3367
3367
|
{
|
|
3368
3368
|
"name": "开发文档",
|
|
3369
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3369
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-open-delay"
|
|
3370
3370
|
}
|
|
3371
3371
|
]
|
|
3372
3372
|
},
|
|
3373
3373
|
{
|
|
3374
|
-
"name": "
|
|
3375
|
-
"description": "
|
|
3374
|
+
"name": "submenu-close-delay",
|
|
3375
|
+
"description": "通过 hover 触发子菜单关闭时的延时,单位为毫秒",
|
|
3376
3376
|
"references": [
|
|
3377
3377
|
{
|
|
3378
3378
|
"name": "开发文档",
|
|
3379
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3379
|
+
"url": "https://www.mdui.org/docs/2/components/menu#menu-attributes-submenu-close-delay"
|
|
3380
3380
|
}
|
|
3381
3381
|
]
|
|
3382
3382
|
}
|
|
@@ -3384,11 +3384,11 @@
|
|
|
3384
3384
|
"references": [
|
|
3385
3385
|
{
|
|
3386
3386
|
"name": "开发文档",
|
|
3387
|
-
"url": "https://www.mdui.org/docs/2/components/
|
|
3387
|
+
"url": "https://www.mdui.org/docs/2/components/menu"
|
|
3388
3388
|
},
|
|
3389
3389
|
{
|
|
3390
3390
|
"name": "Github",
|
|
3391
|
-
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/
|
|
3391
|
+
"url": "https://github.com/zdhxiong/mdui/packages/mdui/src/components/menu/menu.ts"
|
|
3392
3392
|
}
|
|
3393
3393
|
]
|
|
3394
3394
|
},
|
|
@@ -3553,12 +3553,12 @@
|
|
|
3553
3553
|
]
|
|
3554
3554
|
},
|
|
3555
3555
|
{
|
|
3556
|
-
"name": "
|
|
3556
|
+
"name": "tabindex",
|
|
3557
3557
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
3558
3558
|
"references": [
|
|
3559
3559
|
{
|
|
3560
3560
|
"name": "开发文档",
|
|
3561
|
-
"url": "https://www.mdui.org/docs/2/components/navigation-bar#navigation-bar-item-attributes-
|
|
3561
|
+
"url": "https://www.mdui.org/docs/2/components/navigation-bar#navigation-bar-item-attributes-tabindex"
|
|
3562
3562
|
}
|
|
3563
3563
|
]
|
|
3564
3564
|
}
|
|
@@ -3949,12 +3949,12 @@
|
|
|
3949
3949
|
]
|
|
3950
3950
|
},
|
|
3951
3951
|
{
|
|
3952
|
-
"name": "
|
|
3952
|
+
"name": "tabindex",
|
|
3953
3953
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
3954
3954
|
"references": [
|
|
3955
3955
|
{
|
|
3956
3956
|
"name": "开发文档",
|
|
3957
|
-
"url": "https://www.mdui.org/docs/2/components/navigation-rail#navigation-rail-item-attributes-
|
|
3957
|
+
"url": "https://www.mdui.org/docs/2/components/navigation-rail#navigation-rail-item-attributes-tabindex"
|
|
3958
3958
|
}
|
|
3959
3959
|
]
|
|
3960
3960
|
}
|
|
@@ -4201,12 +4201,12 @@
|
|
|
4201
4201
|
]
|
|
4202
4202
|
},
|
|
4203
4203
|
{
|
|
4204
|
-
"name": "
|
|
4204
|
+
"name": "tabindex",
|
|
4205
4205
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
4206
4206
|
"references": [
|
|
4207
4207
|
{
|
|
4208
4208
|
"name": "开发文档",
|
|
4209
|
-
"url": "https://www.mdui.org/docs/2/components/radio#radio-attributes-
|
|
4209
|
+
"url": "https://www.mdui.org/docs/2/components/radio#radio-attributes-tabindex"
|
|
4210
4210
|
}
|
|
4211
4211
|
]
|
|
4212
4212
|
}
|
|
@@ -4237,12 +4237,12 @@
|
|
|
4237
4237
|
]
|
|
4238
4238
|
},
|
|
4239
4239
|
{
|
|
4240
|
-
"name": "
|
|
4240
|
+
"name": "tabindex",
|
|
4241
4241
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
4242
4242
|
"references": [
|
|
4243
4243
|
{
|
|
4244
4244
|
"name": "开发文档",
|
|
4245
|
-
"url": "https://www.mdui.org/docs/2/components/range-slider#attributes-
|
|
4245
|
+
"url": "https://www.mdui.org/docs/2/components/range-slider#attributes-tabindex"
|
|
4246
4246
|
}
|
|
4247
4247
|
]
|
|
4248
4248
|
},
|
|
@@ -4595,12 +4595,12 @@
|
|
|
4595
4595
|
]
|
|
4596
4596
|
},
|
|
4597
4597
|
{
|
|
4598
|
-
"name": "
|
|
4598
|
+
"name": "tabindex",
|
|
4599
4599
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
4600
4600
|
"references": [
|
|
4601
4601
|
{
|
|
4602
4602
|
"name": "开发文档",
|
|
4603
|
-
"url": "https://www.mdui.org/docs/2/components/segmented-button#segmented-button-attributes-
|
|
4603
|
+
"url": "https://www.mdui.org/docs/2/components/segmented-button#segmented-button-attributes-tabindex"
|
|
4604
4604
|
}
|
|
4605
4605
|
]
|
|
4606
4606
|
},
|
|
@@ -5021,12 +5021,12 @@
|
|
|
5021
5021
|
]
|
|
5022
5022
|
},
|
|
5023
5023
|
{
|
|
5024
|
-
"name": "
|
|
5024
|
+
"name": "tabindex",
|
|
5025
5025
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
5026
5026
|
"references": [
|
|
5027
5027
|
{
|
|
5028
5028
|
"name": "开发文档",
|
|
5029
|
-
"url": "https://www.mdui.org/docs/2/components/select#attributes-
|
|
5029
|
+
"url": "https://www.mdui.org/docs/2/components/select#attributes-tabindex"
|
|
5030
5030
|
}
|
|
5031
5031
|
]
|
|
5032
5032
|
}
|
|
@@ -5067,12 +5067,12 @@
|
|
|
5067
5067
|
]
|
|
5068
5068
|
},
|
|
5069
5069
|
{
|
|
5070
|
-
"name": "
|
|
5070
|
+
"name": "tabindex",
|
|
5071
5071
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
5072
5072
|
"references": [
|
|
5073
5073
|
{
|
|
5074
5074
|
"name": "开发文档",
|
|
5075
|
-
"url": "https://www.mdui.org/docs/2/components/slider#attributes-
|
|
5075
|
+
"url": "https://www.mdui.org/docs/2/components/slider#attributes-tabindex"
|
|
5076
5076
|
}
|
|
5077
5077
|
]
|
|
5078
5078
|
},
|
|
@@ -5405,12 +5405,12 @@
|
|
|
5405
5405
|
]
|
|
5406
5406
|
},
|
|
5407
5407
|
{
|
|
5408
|
-
"name": "
|
|
5408
|
+
"name": "tabindex",
|
|
5409
5409
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
5410
5410
|
"references": [
|
|
5411
5411
|
{
|
|
5412
5412
|
"name": "开发文档",
|
|
5413
|
-
"url": "https://www.mdui.org/docs/2/components/switch#attributes-
|
|
5413
|
+
"url": "https://www.mdui.org/docs/2/components/switch#attributes-tabindex"
|
|
5414
5414
|
}
|
|
5415
5415
|
]
|
|
5416
5416
|
}
|
|
@@ -5497,12 +5497,12 @@
|
|
|
5497
5497
|
]
|
|
5498
5498
|
},
|
|
5499
5499
|
{
|
|
5500
|
-
"name": "
|
|
5500
|
+
"name": "tabindex",
|
|
5501
5501
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
5502
5502
|
"references": [
|
|
5503
5503
|
{
|
|
5504
5504
|
"name": "开发文档",
|
|
5505
|
-
"url": "https://www.mdui.org/docs/2/components/tabs#tab-attributes-
|
|
5505
|
+
"url": "https://www.mdui.org/docs/2/components/tabs#tab-attributes-tabindex"
|
|
5506
5506
|
}
|
|
5507
5507
|
]
|
|
5508
5508
|
}
|
|
@@ -6205,12 +6205,12 @@
|
|
|
6205
6205
|
]
|
|
6206
6206
|
},
|
|
6207
6207
|
{
|
|
6208
|
-
"name": "
|
|
6208
|
+
"name": "tabindex",
|
|
6209
6209
|
"description": "通过 Tab 键在元素之间切换焦点时,tabIndex 属性指定了元素获取焦点的顺序",
|
|
6210
6210
|
"references": [
|
|
6211
6211
|
{
|
|
6212
6212
|
"name": "开发文档",
|
|
6213
|
-
"url": "https://www.mdui.org/docs/2/components/text-field#attributes-
|
|
6213
|
+
"url": "https://www.mdui.org/docs/2/components/text-field#attributes-tabindex"
|
|
6214
6214
|
}
|
|
6215
6215
|
]
|
|
6216
6216
|
}
|