registerElement method

void registerElement (String tag, Type customElementClass, { String extendsTag })

Implementation

void registerElement(String tag, Type customElementClass,
    {String extendsTag}) {
  registerElement2(
      tag, {'prototype': customElementClass, 'extends': extendsTag});
}