Created GetElementById (markdown)
parent
66f77c9858
commit
f6ce81b07a
1 changed files with 8 additions and 0 deletions
8
GetElementById.md
Normal file
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)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue