define method

  1. @DomName('CustomElementRegistry.define')
  2. @DocsEditable()
  3. @Experimental()
void define (String name, Object constructor, [ Map options ])

Implementation

@DomName('CustomElementRegistry.define')
@DocsEditable()
@Experimental() // untriaged
void define(String name, Object constructor, [Map options]) {
  if (options != null) {
    var options_1 = convertDartToNative_Dictionary(options);
    _define_1(name, constructor, options_1);
    return;
  }
  _define_2(name, constructor);
  return;
}