NgDocDataListGroupComponent
Data list whose options are grouped by itemGroupFn, with a header per group.
- Decorators
@Component - Selectors
ng-doc-data-list-group - Generic types
TG- Extends
NgDocDataListComponent <T>
DeclarationTypeScript
@Component ({ … })
export class NgDocDataListGroupComponent <T, G>
extends NgDocDataListComponent <T> { … }Members
Properties11 | |
autofocus: | Whether the list takes focus when it opens. |
defineValueFn: | Maps an item to the value its option selects. |
emptyContent: | Content shown when there are no items. |
groupContent: | Content of a group header; its context is the group. |
groupItems: | The groups, in the order in which they first appear. |
groups: | Items by group, in the order in which the groups first appear. |
itemContent: | Content of an option; its context is the item. |
itemDisabledFn: | Returns |
itemGroupFn: | Returns the group of an item. Without it, no option is shown. |
items: | Items to show. |
trackByFn: | Identifies items across changes of |
Methods1 | |
(): T[] | Returns the items as an array. |
Signature Returns T[] | |
No members match.