mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibWeb: Implement Node.cloneNode()
With this we can now successfully run a Vue.js 2 hello world! :^)
This commit is contained in:
parent
d721c93beb
commit
5da4c9bf1e
4 changed files with 71 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue