2023-09-05 15:05:46 -04:00
|
|
|
#import <DOM/Element.idl>
|
|
|
|
#import <DOM/Node.idl>
|
|
|
|
#import <DOM/Text.idl>
|
2022-02-15 22:40:51 +03:30
|
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
2022-10-07 16:45:09 -06:00
|
|
|
// https://html.spec.whatwg.org/multipage/scripting.html#htmlslotelement
|
2023-09-03 01:09:33 +12:00
|
|
|
[Exposed=Window]
|
2020-08-01 03:07:00 +01:00
|
|
|
interface HTMLSlotElement : HTMLElement {
|
|
|
|
|
2023-03-23 03:48:52 -04:00
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
|
2023-03-01 01:45:18 +00:00
|
|
|
[CEReactions, Reflect] attribute DOMString name;
|
2023-09-05 15:05:46 -04:00
|
|
|
sequence<Node> assignedNodes(optional AssignedNodesOptions options = {});
|
|
|
|
sequence<Element> assignedElements(optional AssignedNodesOptions options = {});
|
|
|
|
undefined assign((Element or Text)... nodes);
|
|
|
|
};
|
2020-08-01 03:07:00 +01:00
|
|
|
|
2023-09-05 15:05:46 -04:00
|
|
|
dictionary AssignedNodesOptions {
|
|
|
|
boolean flatten = false;
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|