Previously, you’d be able to unbundle the buttons cluster and give each button a function with case structures. Now, the data is an array. How can I go on to give the button a function?
Previously, you’d be able to unbundle the buttons cluster and give each button a function with case structures. Now, the data is an array. How can I go on to give the button a function?
Instead of unbundling the button, you index the array element. Everything else from that point is the same.