cancel
Showing results for 
Search instead for 
Did you mean: 

How to react on a click event of SegmentedButton

kulu
Explorer
0 Kudos

Hello,

I am using the SegmentedButton of UI5. How can i react on a click event?

There is only the SelectionChanged event but not a click event in the API Reference. I want to react if the user clicks on a segment which is already selected.

Thanks

View Entire Topic
pfefferf
Active Contributor

A SegmentedButton has the aggregation "items" which contains the SegmentedButtonItems. A SegmentedButtonItem has a press event on which you can register. That should fulfill your requirement.

kulu
Explorer
0 Kudos

Thanks thats exactly what I was looking for.