100
you are viewing a single comment's thread
view the rest of the comments
[-] SmartmanApps@programming.dev 4 points 9 months ago* (last edited 9 months ago)

Again you're talking about switches. The thread is about normal buttons which have 2 states (the example being given is a button which can be a play button or a pause button depending on the current state). Buttons aren't like check-boxes, switches are. A button triggers an event, check-boxes don't. e.g. on a settings page, you tick all the check-boxes you want first, then click on the Save (or Cancel) changes button - one event for multiple changes. You don't tick a check-box to start playing something, you press a play button (which in this case would then change into a pause button).

[-] calcopiritus@lemmy.world 3 points 9 months ago

Yeah you're right. Didn't see it was a crosspost and infered from the title.

[-] SmartmanApps@programming.dev 3 points 9 months ago

That's ok. Thanks for being big enough to admit you were wrong - these days a lot of people aren't!

this post was submitted on 12 Feb 2024
100 points (98.1% liked)

Programming

17314 readers
291 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS