WebIDLpedia

NonDocumentTypeChildNode interface mixin

Definition

DOM Standard defines NonDocumentTypeChildNode



interface mixin NonDocumentTypeChildNode {
  readonly attribute Element? previousElementSibling;
  readonly attribute Element? nextElementSibling;
};

This interface mixin is extended in the following specifications:

Consolidated IDL (across partials)


interface mixin NonDocumentTypeChildNode {
  readonly attribute Element? previousElementSibling;
  readonly attribute Element? nextElementSibling;
  [CEReactions] undefined beforeHTML(DOMString html, optional SetHTMLOptions options = {});
  [CEReactions] undefined afterHTML(DOMString html, optional SetHTMLOptions options = {});
  [CEReactions] undefined replaceWithHTML(DOMString html, optional SetHTMLOptions options = {});
  [CEReactions] undefined beforeHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
  [CEReactions] undefined afterHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
  [CEReactions] undefined replaceWithHTMLUnsafe((TrustedHTML or DOMString) html, optional (SetHTMLUnsafeOptions or TrustedHTMLParserOptions) options = {});
};

Referring IDL interfaces/dictionaries

Referring specifications