added view
This commit is contained in:
parent
5517a271c7
commit
580e53d3bc
11 changed files with 68 additions and 34 deletions
|
|
@ -2,7 +2,7 @@ import Crafter.CppDOM;
|
|||
using namespace Crafter;
|
||||
|
||||
int main(){
|
||||
HtmlElement body("body");
|
||||
HtmlElementView body("body");
|
||||
body.SetInnerHTML("Hello World!");
|
||||
//No need to call FreeJs, this is done in the destructor of HtmlElement.
|
||||
//No need to call FreeJs, this is done in the destructor of HtmlElementView.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue