Upcoming Events

Test event

To do this, we give each of the buttons a click event handler, which collects together the selected options you want to transfer in one constant, and the existing options in the list you are transferring to in another constant. It then calls on the list to transfer the options to, using the spread operator to pass in all the options contained in both constants.