diff --git a/GetElementById.md b/GetElementById.md new file mode 100644 index 0000000..e9da0f6 --- /dev/null +++ b/GetElementById.md @@ -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) \ No newline at end of file