From f59772f27664fbb43aa5712fe8d83ba908abe60b Mon Sep 17 00:00:00 2001 From: The-Mighty-Cat <54977668+The-Mighty-Cat@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:34:53 +0100 Subject: [PATCH] Created SetInnerHTML (markdown) --- SetInnerHTML.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 SetInnerHTML.md diff --git a/SetInnerHTML.md b/SetInnerHTML.md new file mode 100644 index 0000000..b46dca9 --- /dev/null +++ b/SetInnerHTML.md @@ -0,0 +1,8 @@ +```cpp +void* Crafter::CppDOM::Bindings::SetInnerHTML(void* ptr, const char* html, std::size_t htmlLenght); +void* Crafter::CppDOM::Bindings::SetInnerHTML(void* ptr, const std::string& html) +``` + +Sets the innterHTML property of the javascript object in ``ptr`` to the contents of ``html`` + +[Mozilla Reference](https://developer.mozilla.org/en-US/docs/Web/API/Document/innerHTML) \ No newline at end of file