SiSelectComboboxValueComponent documentation¶
import { SiSelectComboboxValueComponent } from '@siemens/element-ng/select';Represents a single selected value inside an SiSelectComboboxComponent.
Project one <si-select-combobox-value> per selected entry. Optional icon, iconColor, stackedIcon and stackedIconColor inputs mirror the icon API of SelectOption and render an icon (with optional stacked overlay) before the projected content.
Add the comma-separated CSS class to render a comma between adjacent values. Omit it when using chips, custom separators, or a single value.
Example:
<si-select-combobox>
<si-select-combobox-value
icon="element-face-happy"
iconColor="status-success"
>
{{ select.value() }}
</si-select-combobox-value>
</si-select-combobox>
Input Properties¶
| Name | Type | Description |
|---|---|---|
| icon ¶ | string | undefined | An optional icon rendered before the projected content. |
| iconColor ¶ | string | undefined | Optional CSS color class applied to icon. |
| stackedIcon ¶ | string | undefined | Optional secondary icon stacked on top of icon. |
| stackedIconColor ¶ | string | undefined | Optional CSS color class applied to stackedIcon. |
Except where otherwise noted, content on this site is licensed under MIT License.