Updated GetElementById (markdown)

The-Mighty-Cat 2025-02-12 23:14:43 +01:00
commit 385abb538b

@ -1,6 +1,8 @@
```cpp ```cpp
void* Crafter::CppDOM::Bindings::GetElementById(const char* id, std::size_t idLenght); namespace Crafter::CppDOM::Bindings {
void* Crafter::CppDOM::Bindings::GetElementById(const std::string& id); void* GetElementById(const char* id, std::size_t idLenght);
void* GetElementById(const std::string& id);
}
``` ```
Accepts an id string and returns a void* to a JS object. Accepts an id string and returns a void* to a JS object.