bp-sdk-add-item-container
Slots
Name | Description |
---|
| default slot |
Custom element hooks
Name | Description |
---|
bp-sdk-external-add-item-container | disable html |
Classes
Name | Description |
---|
bp-sdk-add-item__container | Root div element |
bp-sdk-add-item__wrapper | Div element wrapping help text, icon, and button |
bp-sdk-add-item__help-text | H4 element with help text |
Properties
Property | Attribute | Description | Type | Default |
---|
answerPoolId | answer-pool-id | Id of the answer pool that this component belongs to | string | undefined |
canAddMore | can-add-more | Can add more state | boolean | true |
helpText | help-text | Help text | string | '' |
icon | icon | Icon name | string | undefined |
questionId | question-id | Question Id | string | undefined |
questionSetId | question-set-id | Question Set Id | string | undefined |
text | text | Add button text | string | '+' |
Events
Event | Description | Type |
---|
addItem | Add Item event | CustomEvent<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