mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibWeb: Add customElements.getName
This commit is contained in:
parent
51f5da00d7
commit
8d593bcfeb
Notes:
sideshowbarker
2024-07-17 05:00:08 +09:00
Author: https://github.com/keithamus 🔰
Commit: 8d593bcfeb
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/458
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/tcl3
3 changed files with 17 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
interface CustomElementRegistry {
|
||||
[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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue