mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:54:58 +00:00
LibWebView+WebContent: Add WebContent IPC to create children DOM nodes
This adds IPC to create append a child <div> element or a text node to a DOM node.
This commit is contained in:
parent
bb217fb0d7
commit
111e53a2f6
5 changed files with 41 additions and 0 deletions
|
@ -67,6 +67,8 @@ public:
|
|||
Optional<i32> set_dom_node_tag(i32 node_id, String name);
|
||||
void add_dom_node_attributes(i32 node_id, Vector<Attribute> attributes);
|
||||
void replace_dom_node_attribute(i32 node_id, String name, Vector<Attribute> replacement_attributes);
|
||||
Optional<i32> create_child_element(i32 node_id);
|
||||
Optional<i32> create_child_text_node(i32 node_id);
|
||||
void remove_dom_node(i32 node_id);
|
||||
Optional<String> get_dom_node_html(i32 node_id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue