mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 13:02:09 +02:00
LibWeb: Add customElements.getName
This commit is contained in:
committed by
Andrew Kaster
parent
51f5da00d7
commit
8d593bcfeb
Notes:
sideshowbarker
2024-07-17 05:00:08 +09:00
Author: https://github.com/keithamus 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/8d593bcfeb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/458 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/tcl3
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user