We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5eea21 commit b8cdc0fCopy full SHA for b8cdc0f
src/browser/dom/document_fragment.zig
@@ -43,6 +43,18 @@ pub const DocumentFragment = struct {
43
_ = self;
44
return true;
45
}
46
+
47
+ pub fn _prepend(self: *parser.DocumentFragment, nodes: []const Node.NodeOrText) !void {
48
+ return Node.prepend(parser.documentFragmentToNode(self), nodes);
49
+ }
50
51
+ pub fn _append(self: *parser.DocumentFragment, nodes: []const Node.NodeOrText) !void {
52
+ return Node.append(parser.documentFragmentToNode(self), nodes);
53
54
55
+ pub fn _replaceChildren(self: *parser.DocumentFragment, nodes: []const Node.NodeOrText) !void {
56
+ return Node.replaceChildren(parser.documentFragmentToNode(self), nodes);
57
58
};
59
60
const testing = @import("../../testing.zig");
0 commit comments