summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Node.idl
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-04-14 01:25:10 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-14 09:30:29 +0200
commit5da4c9bf1e538e73b947652e61f2e8ffcb31005c (patch)
tree33e4ecdd869d9a22d1cbd243c2f08f078f8b7452 /Userland/Libraries/LibWeb/DOM/Node.idl
parentd721c93beb339678bd965179104fb6647553cd6d (diff)
downloadserenity-5da4c9bf1e538e73b947652e61f2e8ffcb31005c.zip
LibWeb: Implement Node.cloneNode()
With this we can now successfully run a Vue.js 2 hello world! :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Node.idl')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Node.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Node.idl b/Userland/Libraries/LibWeb/DOM/Node.idl
index 34de218746..7c17fc8bad 100644
--- a/Userland/Libraries/LibWeb/DOM/Node.idl
+++ b/Userland/Libraries/LibWeb/DOM/Node.idl
@@ -18,6 +18,7 @@ interface Node : EventTarget {
Node appendChild(Node node);
[ImplementedAs=pre_insert] Node insertBefore(Node node, Node? child);
[ImplementedAs=pre_remove] Node removeChild(Node child);
+ [ImplementedAs=clone_node_binding] Node cloneNode(optional boolean deep = false);
const unsigned short ELEMENT_NODE = 1;
const unsigned short ATTRIBUTE_NODE = 2;