FocusListDirective constructor

FocusListDirective(
  1. NgZone _ngZone,
  2. @Attribute.new('role') String role,
  3. @Attribute.new('ignoreUpAndDown') String ignoreUpAndDown
)

Implementation

FocusListDirective(this._ngZone, @Attribute('role') String role,
    @Attribute('ignoreUpAndDown') String ignoreUpAndDown)
    : this.role = role ?? 'list',
      this.ignoreUpAndDown = attributeToBool(ignoreUpAndDown);