MaterialSelectDropdownItemComponent<T> constructor
MaterialSelectDropdownItemComponent<T> (
- HtmlElement element,
- @Attribute('role') String? role,
- @Optional() DropdownHandle? dropdown,
- @Optional() ActivationHandler? activationHandler,
- @Optional() IdGenerator? idGenerator,
- ChangeDetectorRef cdRef,
Implementation
MaterialSelectDropdownItemComponent(
HtmlElement element,
@Attribute('role') String? role,
@Optional() DropdownHandle? dropdown,
@Optional() ActivationHandler? activationHandler,
@Optional() IdGenerator? idGenerator,
ChangeDetectorRef cdRef)
: _generatedId =
(idGenerator ?? SequentialIdGenerator.fromUUID()).nextId(),
super(element, dropdown, activationHandler, cdRef, role ?? 'option') {
this.itemRenderer = defaultItemRenderer;
//this.factoryRenderer =
// (_) => templateItem.MaterialSelectDropdownItemComponentNgFactory;
}