new crafter.build structure
This commit is contained in:
parent
ad69ebeac8
commit
e35b7302cb
22 changed files with 83 additions and 109 deletions
8
examples/HelloElement/main.cpp
Normal file
8
examples/HelloElement/main.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import Crafter.CppDOM;
|
||||
using namespace Crafter::CppDOM;
|
||||
|
||||
int main(){
|
||||
HtmlElement body("body");
|
||||
body.SetInnerHTML("Hello World!");
|
||||
//No need to call FreeJs, this is done in the destructor of HtmlElement.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue