Skip to main content

Button

The <sdpi-button> component provides a styled wrapper of <button>.

Example​

Property Inspector HTML
<sdpi-item>
<sdpi-button onclick="javascript:alert('Hello World')">
Click me
</sdpi-button>
</sdpi-item>

Result​

An input button in the Stream Deck property inspector using the sdpi-button web component

Configuration​

The component supports the following configuration.

NameTypeDescription
disabledbooleanDetermines whether the input is disabled.
valuestringThe value of the input.