You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Defines the form value of the component that is submitted when the checkbox is checked.
107
+
*
108
+
* When a form containing `CheckBox` elements is submitted, only the values of the
109
+
* **checked** checkboxes are included in the form data sent to the server. Unchecked
110
+
* checkboxes do not contribute any data to the form submission.
111
+
*
112
+
* This property is particularly useful for **checkbox groups**, where multiple checkboxes with the same `name` but different `value` properties can be used to represent a set of related options.
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
70
+
*
71
+
* @since [2.11.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v2.11.0) of __@ui5/webcomponents__.
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding ui5-menu popover.
93
+
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
81
94
*
82
-
* **Note:** If set to `true` a `BusyIndicator` component will be displayed into the related one to the current `MenuItem` sub-menu popover.
95
+
* **Note:** If set to `true` a busy indicator component will be displayed into the related one to the current menu item sub-menu popover.
83
96
*
84
97
* **Note:** Available since [v1.13.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v1.13.0) of **@ui5/webcomponents**.
85
98
* @default false
86
99
*/
87
100
loading?: boolean;
88
101
89
102
/**
90
-
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding ui5-menu popover.
103
+
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the corresponding menu popover.
91
104
*
92
105
* **Note:** Available since [v1.13.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v1.13.0) of **@ui5/webcomponents**.
93
106
* @default 1000
@@ -146,14 +159,15 @@ interface MenuItemPropTypes
146
159
|'endContent'
147
160
|'onBeforeClose'
148
161
|'onBeforeOpen'
162
+
|'onCheck'
149
163
|'onClose'
150
164
|'onDetailClick'
151
165
|'onOpen'
152
166
>{
153
167
/**
154
168
* Defines the items of this component.
155
169
*
156
-
* **Note:** The slot can hold `MenuItem` and `MenuSeparator` items.
170
+
* **Note:** The slot can hold menu item and menu separator items.
157
171
*
158
172
* If there are items added to this slot, an arrow will be displayed at the end
159
173
* of the item in order to indicate that there are items added. In that case components added
@@ -191,6 +205,10 @@ interface MenuItemPropTypes
191
205
* The priority of what will be displayed at the end of the menu item is as follows:
192
206
* sub-menu arrow (if there are items added in `items` slot) -> components added in `endContent` -> text set to `additionalText`.
193
207
*
208
+
* Application developers are responsible for ensuring that interactive elements placed in the `endContent` slot
209
+
* have the correct accessibility behaviour, including their enabled or disabled states.
210
+
* The menu does not manage these aspects when the menu item state changes.
211
+
*
194
212
* __Note:__ The content of the prop will be rendered into a [<slot>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot) by assigning the respective [slot](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/slot) attribute (`slot="endContent"`).
195
213
* Since you can't change the DOM order of slots when declaring them within a prop, it might prove beneficial to manually mount them as part of the component's children, especially when facing problems with the reading order of screen readers.
* **Note:** The slot can hold any combination of components of type `MenuItem` or `MenuSeparator` or both.
25
+
*/
26
+
children?: ReactNode|ReactNode[];
27
+
}
28
+
29
+
/**
30
+
* The `MenuItemGroup` component represents a group of items designed for use inside a `Menu`.
31
+
* Items belonging to the same group should be wrapped by a `MenuItemGroup`.
32
+
* Each group can have an `checkMode` property, which defines the check mode for the items within the group.
33
+
* The possible values for `checkMode` are:
34
+
* - 'None' (default) - no items can be checked
35
+
* - 'Single' - Only one item can be checked at a time
36
+
* - 'Multiple' - Multiple items can be checked simultaneously
37
+
*
38
+
* **Note:** If the `checkMode` property is set to 'Single', only one item can remain checked at any given time.
39
+
* If multiple items are marked as checked, the last checked item will take precedence.
40
+
*
41
+
* ### Usage
42
+
*
43
+
* `MenuItemGroup` represents a collection of `MenuItem` components that can have the same check mode.
44
+
* The items are addeed to the group's `items` slot.
45
+
*
46
+
*
47
+
*
48
+
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
49
+
*
50
+
* @since [2.12.0](https://github.com/SAP/ui5-webcomponents/releases/tag/v2.12.0) of __@ui5/webcomponents__.
0 commit comments