open method

JSObject? open([
  1. String unused1OrUrl,
  2. String nameOrUnused2,
  3. String features
])

The Document.open() method opens a document for Document.write.

This does come with some side effects. For example:

  • All event listeners currently registered on the document, nodes inside the document, or the document's window are removed.
  • All existing nodes are removed from the document.

Implementation

external JSObject? open([
  String unused1OrUrl,
  String nameOrUnused2,
  String features,
]);