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 ok that makes sense :)
I don't much like the one with 'click' in it, as that's not the only way to activate a button.
They all seem so long, haha. Honestly otherwise however it's named I'd just be so happy to code stuff up like that. So neat. So simple!
@sarajw full disclosure we've been working on the idea for a while: https://open-ui.org/components/invokers.explainer
This is a last minute look at the API naming!