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
17.1%
<button invokeaction=open
42.1%
<button command=open
26.3%
Other (comment ideas)
14.5%
Poll ended at .
@keithamus we already have type=button/submit/reset. would type=open be an option instead of adding another attribute?
@tb It's a little tricky but if that's a strong desire from the community I'm happy to pursue it.
@keithamus @tb Two downsides to this is it limits the feature (the auto action would be a toggle much like popovertarget rather than open), and also the button would fallback to a submit button in older browsers.