WebIDLpedia

HTMLSlotElement interface

Definition

HTML Standard defines HTMLSlotElement



[Exposed=Window]
interface HTMLSlotElement : HTMLElement {
  [HTMLConstructor] constructor();

  [CEReactions] attribute DOMString name;
  sequence<Node> assignedNodes(optional AssignedNodesOptions options = {});
  sequence<Element> assignedElements(optional AssignedNodesOptions options = {});
  undefined assign((Element or Text)... nodes);
};

Methods and attributes that return objects implementing HTMLSlotElement

Referring IDL interfaces/dictionaries

Referring specifications