mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +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:
committed by
Andreas Kling
parent
bb217fb0d7
commit
111e53a2f6
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user