commandForElement

The commandForElement property of the HTMLButtonElement interface gets and sets the element to control via a button.

MDN Reference