type

Gets the classification and default behavior of the button.

MDN Reference