Skip to main content

bp-sdk-button

Slots

NameDescription
default slot

Custom element hooks

NameDescription
bp-sdk-external-buttondisables html

Classes

NameDescription
bp-sdk-buttonbutton element
bp-sdk-button__textspan surrounding button text
loadingWhen this is mounted as a question-set-button, next-button, or back-button it will get a loading or not-loading class depending on the state of the question set

Properties

PropertyAttributeDescriptionTypeDefault
buttonDisabledbutton-disabledControls disabled state of buttonbooleanfalse
buttonIdbutton-idId for buttonstringgenerateId(8)
texttextText to be displayedstringundefined

Dependencies

Used by

Graph

graph TD; bp-sdk-add-item-container --> bp-sdk-button bp-sdk-back-button --> bp-sdk-button bp-sdk-create-app-form-button --> bp-sdk-button bp-sdk-dialog-close-button --> bp-sdk-button bp-sdk-driver-question-set-button --> bp-sdk-button bp-sdk-google-address-validation --> bp-sdk-button bp-sdk-next-button --> bp-sdk-button bp-sdk-parent-question-pool-selector --> bp-sdk-button bp-sdk-quote-request-button --> bp-sdk-button bp-sdk-send-to-exchange-button --> bp-sdk-button bp-sdk-take-over-button --> bp-sdk-button bp-sdk-vehicle-question-set-button --> bp-sdk-button bp-sdk-vehicle-save-button --> bp-sdk-button style bp-sdk-button fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS