commandForElement

open external var commandForElement: Element?(source)

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

MDN Reference