FocusItemDirective constructor
FocusItemDirective(
- HtmlElement element,
- ChangeDetectorRef _changeDetectorRef,
- @Attribute('role') String? role
Implementation
FocusItemDirective(HtmlElement element, this._changeDetectorRef,
@Attribute('role') String? role)
: this.role = role ?? 'listitem',
super(element);