Talk:OOjs/Events

Connecting events
What if I'm working with a ButtonGroupWidget? How could I connect a single click event to all the buttons inside it? Jdlrobson (talk) 21:25, 11 August 2015 (UTC)
 * You can use the  method of "Group" widgets, such as ButtonGroupWidget, to emit an aggregate event like 'someButtonInMeClicked' when any contained item is clicked.  I added a mention of this to OOjs UI/Elements/Groups; I'm not sure if it should be mentioned here. -- SPage (WMF) (talk) 22:10, 11 August 2015 (UTC)