FocusItemDirective constructor

FocusItemDirective(
  1. HtmlElement element,
  2. ChangeDetectorRef _changeDetectorRef,
  3. @Attribute('role') String? role
)

Implementation

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