createElement method

Element createElement(
  1. String type, [
  2. BindingContext? context
])

Implementation

Element createElement(String type, [BindingContext? context]) {
  Element element = element_registry.createElement(type, context);
  element.ownerDocument = this;
  return element;
}