you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago

In my opinion, any button in terms of graphical UI design simply dispatches an action with no arguments regarding state. There doesn't exist a dichotomy between a "toggle" mechanic and a "standard" button as far as the button itself is concerned.

Whether or not you want to update the visual representation of that button is a separate concern.

  • source
  • parent