mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-28 12:10:28 +00:00
These no longer serve any purpose now that we run the IDLGenerator on all of these files at once.
18 lines
747 B
Text
18 lines
747 B
Text
// https://html.spec.whatwg.org/multipage/custom-elements.html#customelementregistry
|
|
[Exposed=Window]
|
|
interface CustomElementRegistry {
|
|
constructor();
|
|
|
|
[CEReactions] undefined define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options = {});
|
|
(CustomElementConstructor or undefined) get(DOMString name);
|
|
DOMString? getName(CustomElementConstructor constructor);
|
|
Promise<CustomElementConstructor> whenDefined(DOMString name);
|
|
[CEReactions] undefined upgrade(Node root);
|
|
[CEReactions, ImplementedAs=initialize_for_bindings] undefined initialize(Node root);
|
|
};
|
|
|
|
callback CustomElementConstructor = HTMLElement ();
|
|
|
|
dictionary ElementDefinitionOptions {
|
|
DOMString extends;
|
|
};
|