View Full Version : Unpress any pressed button in toggleGroup with ESC

29 Aug 2014, 8:58 AM
I would like to know how I can unpress any pressed button from a toggleGroup with the ESC key on the keyboard.

I can't find the information anywhere.

Thank you

4 Sep 2014, 8:08 AM
First step is to capture the keydown event on the button's element. Then you just need to find all buttons that belong to that group and execute the toggle event on those buttons.