SiSelectDropdownDirective documentation¶
import { SiSelectDropdownDirective } from '@siemens/element-ng/select'; Structural directive marking the dropdown template for custom selects built with SiCustomSelectDirective.
When placed on an <ng-template>, it automatically registers the template with the parent SiCustomSelectDirective.
Example:
<ng-template si-select-dropdown contentType="listbox">
<!-- custom dropdown content -->
</ng-template>
Input Properties¶
| Name | Type | Default | Description |
|---|---|---|---|
| closeOnTab ¶ | boolean | false | Whether pressing Tab closes the dropdown. Keep this disabled when the dropdown contains controls that users must reach with Tab. |
| contentType required ¶ | SiSelectDropdownContentType | Describes the kind of content rendered by the dropdown. The value is forwarded to the |
Types Documentation¶
Possible values for the SiSelectDropdownContentType
'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' ¶ import type { SiSelectDropdownContentType } from '@siemens/element-ng/select';aria-haspopup attribute exposed by the combobox host of a custom select.
Except where otherwise noted, content on this site is licensed under MIT License.