mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-03-22 04:34:44 +00:00
Merge pull request #1473 from lightpanda-io/script_text
Expose Script.text property
This commit is contained in:
@@ -121,6 +121,7 @@ pub const JsApi = struct {
|
|||||||
try self.asNode().getTextContent(&buf.writer);
|
try self.asNode().getTextContent(&buf.writer);
|
||||||
return buf.written();
|
return buf.written();
|
||||||
}
|
}
|
||||||
|
pub const text = bridge.accessor(_innerText, Script.setInnerText, .{});
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const Build = struct {
|
pub const Build = struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user