lifecycle update
This commit is contained in:
parent
84ce42f106
commit
0b7a43efbd
14 changed files with 950 additions and 490 deletions
|
|
@ -2,7 +2,7 @@ import Crafter.CppDOM;
|
|||
using namespace Crafter;
|
||||
|
||||
int main(){
|
||||
HtmlElementView body("body");
|
||||
HtmlElementPtr body("body");
|
||||
body.SetInnerHTML("Hello World!");
|
||||
//No need to call FreeJs, this is done in the destructor of HtmlElementView.
|
||||
//No need to call FreeJs, this is done in the destructor of HtmlElementPtr.
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue