MaterialSelectDropdownItemComponent<T> constructor

MaterialSelectDropdownItemComponent<T>(
  1. HtmlElement element,
  2. @Attribute('role') String? role,
  3. @Optional() DropdownHandle? dropdown,
  4. @Optional() ActivationHandler? activationHandler,
  5. @Optional() IdGenerator? idGenerator,
  6. 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;
}