Creates a basic button.
By default, the button renders the contents of its direct children (i.e. it has a single unnamed <slot>
).
Subclasses can override this by passing a different ButtonOptions.template in the options,
using buttonTemplate to correctly style the custom template.
Optional
options: ButtonOptionsThe options for this button.
Whether the button is disabled.
When disabled, the button cannot be clicked.
Static
observedProtected
Readonly
_onProtected
Readonly
_onProtected
_upgradeProtected
handleGenerated using TypeDoc
<theoplayer-button>
- A basic button.Attribute
disabled
- Whether the button is disabled. When disabled, the button cannot be clicked.