Created GetElementById (markdown)

The-Mighty-Cat 2025-02-12 22:26:55 +01:00
commit f6ce81b07a

8
GetElementById.md Normal file

@ -0,0 +1,8 @@
```cpp
void* Crafter::CppDOM::Bindings::GetElementById(const char* id, std::size_t idLenght);
inline void* GetElementById(const std::string& id);
```
Accepts an id string and returns a void* to a JS object.
[Mozilla Reference](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById)