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
Adds a new selection-change event to ui5-segmented-button-item that allows consumers to listen to individual item clicks and optionally prevent the default selection behavior.
@@ -48,7 +55,26 @@ import segmentedButtonItemCss from "./generated/themes/SegmentedButtonItem.css.j
48
55
template: SegmentedButtonItemTemplate,
49
56
styles: segmentedButtonItemCss,
50
57
})
58
+
59
+
/**
60
+
* Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
61
+
*
62
+
* **Note:** The event will not be fired if the `disabled` property is set to `true`.
63
+
*
64
+
* @param {SegmentedButtonItem} item The segmented button item that was clicked.
65
+
* @param {Event} originalEvent The original DOM event that triggered the click. Use this to access modifier keys (altKey, ctrlKey, metaKey, shiftKey) and other native event properties.
0 commit comments