dart / 2 / dart-html / document / registerelement2.html

registerElement2 method

Function registerElement2(
  1. String type,
  2. [Map? options]
)

Implementation

Function registerElement2(String type, [Map? options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    return _registerElement2_1(type, options_1);
  }
  return _registerElement2_2(type);
}

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/Document/registerElement2.html