new crafter.build structure
This commit is contained in:
parent
ad69ebeac8
commit
e35b7302cb
22 changed files with 83 additions and 109 deletions
8
examples/HelloWorld/main.cpp
Normal file
8
examples/HelloWorld/main.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import Crafter.CppDOM;
|
||||
using namespace Crafter::CppDOM::Bindings;
|
||||
|
||||
int main(){
|
||||
void* body = GetElementById("body");
|
||||
SetInnerHTML(body, "Hello World!");
|
||||
FreeJs(body);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue