createElement method

Element createElement(
  1. String localName, [
  2. JSAny options
])

In an HTML document, the document.createElement() method creates the HTML element specified by tagName, or an HTMLUnknownElement if tagName isn't recognized.

Implementation

external Element createElement(
  String localName, [
  JSAny options,
]);