SiSelectSingleValueDirective documentation¶
selector
si-select:not([multi]) The directive enables the single-select behavior. Otherwise, use the SiSelectMultiValueDirective directive.
Example:
<si-select [(value)]="selectedValue" [options]="[
{ id: 'good', title: 'Good' },
{ id: 'average', title: 'Average' },
{ id: 'poor', title: 'Poor' }
]"></si-select>
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| (writeonly) value ¶ | (IV | undefined) | The selected value(s). |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| valueChange ¶ | T | Emitted when the selection is changed |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| allowMultiple ¶ | boolean | false | SiSelectSelectionStrategy#allowMultiple |
Types Documentation¶
| The directive enables the multi-select behavior. Otherwise, use the SiSelectSingleValueDirective directive. Example: | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
|
Except where otherwise noted, content on this site is licensed under MIT License.