Optional
onClick: () => voidSets disabled state of button
Gets the button element
Gets text content of button
Sets text content of button
Trigger onClick handler
Disposes the button. Removes event handler and optionally removes from document
Sets the click handler, overwriting existing.
Optional
handler: () => void
Creates a BUTTON element, wrapping it via button and returning it.