OptionalonClick: () => voidSets disabled state of button
Readonlyel: HTMLButtonElementGets 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
OptionaldeleteElement: booleanSets the click handler, overwriting existing.
Optionalhandler: () => void
Creates a BUTTON element, wrapping it via button and returning it.