Opinion poll!
You have a <button>, it makes a <foo> open. What would be the best declarative attribute for the button to control the foo?
<button clickaction=open
<button invokeaction=open
<button command=open
Other (comment ideas)
Poll ended at .
Opinion poll!
You have a <button>, it makes a <foo> open. What would be the best declarative attribute for the button to control the foo?
@keithamus and can't we have the attribute be called `action` even if one already exists in <form>s?
So maybe like:
```
<button action="open" controls="my-dialog-id">Show options</button>
```
I guess for a dialog we might also have a "showModal" action available... 🤔
@Lukew @keithamus interesting! Fair play, naming is hard and I'm an outsider just speaking my mind :)
I'm stoked for this though. Feels like how buttons *should* work. But if inline JavaScript was a security issue, how is this safer? Just a lot less flexible and more hardwired?