HTMLOrSVGElement constructor

HTMLOrSVGElement({
  1. bool? autofocus,
  2. Object? dataset,
  3. String? nonce,
  4. num? tabIndex,
  5. void blur()?,
  6. void focus([
    1. FocusOptions?
    ])?,
})

Implementation

factory HTMLOrSVGElement({
  _i2.bool? autofocus,
  _i2.Object? dataset,
  _i2.String? nonce,
  _i2.num? tabIndex,
  void Function()? blur,
  void Function([_i3.FocusOptions?])? focus,
}) =>
    HTMLOrSVGElement._(
      autofocus: autofocus,
      dataset: dataset ?? _i6.undefined,
      nonce: nonce,
      tabIndex: tabIndex,
      blur: blur == null ? null : _i4.allowInterop(blur),
      focus: focus == null ? null : _i4.allowInterop(focus),
    );