Allowing only one active state across multiple buttons

前端 未结 0 1135
忘掉有多难
忘掉有多难 2020-12-18 05:12

I am trying to have 3 buttons that toggle their active state based on if the others are clicked.
So if button 1 is active, button 2 and 3 should not be. My buttons ar

相关标签:
回答
  • 消灭零回复
提交回复
热议问题