Skip to main content

bp-sdk-add-item-container

Slots​

NameDescription
default slot

Custom element hooks​

NameDescription
bp-sdk-external-add-item-containerdisable html

Classes​

NameDescription
bp-sdk-add-item__containerRoot div element
bp-sdk-add-item__wrapperDiv element wrapping help text, icon, and button
bp-sdk-add-item__help-textH4 element with help text

Properties​

PropertyAttributeDescriptionTypeDefault
answerPoolIdanswer-pool-idId of the answer pool that this component belongs tostringundefined
canAddMorecan-add-moreCan add more statebooleantrue
helpTexthelp-textHelp textstring''
iconiconIcon namestringundefined
questionIdquestion-idQuestion Idstringundefined
questionSetIdquestion-set-idQuestion Set Idstringundefined
texttextAdd button textstring'+'

Events​

EventDescriptionType
addItemAdd Item eventCustomEvent<void>

Dependencies​

Used by​

Depends on​

Graph​

graph TD; bp-sdk-add-item-container --> bp-sdk-icon-container bp-sdk-add-item-container --> bp-sdk-button bp-sdk-question-pool-container --> bp-sdk-add-item-container style bp-sdk-add-item-container fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS