Crafter.CppDOM/examples/HelloElement/main.cpp

8 lines
208 B
C++
Raw Normal View History

2025-02-12 23:05:59 +01:00
import Crafter.CppDOM;
2025-11-09 22:43:52 +01:00
using namespace Crafter;
2025-02-12 23:05:59 +01:00
int main(){
HtmlElement body("body");
body.SetInnerHTML("Hello World!");
//No need to call FreeJs, this is done in the destructor of HtmlElement.
}