command

The command property of the HTMLButtonElement interface gets and sets the action to be performed on an element being controlled by this button.

MDN Reference