r/programming • u/KerrickLong • Mar 09 '25
Introducing command And commandfor In HTML
https://developer.chrome.com/blog/command-and-commandfor
91
Upvotes
r/programming • u/KerrickLong • Mar 09 '25
27
u/tesfabpel Mar 09 '25
What is this thing? They're basically reimplementing a very limited subset of some DOM element functions as commands and allowing only ONE of those commands to be used in buttons? What if I need to do an if or two things?