-
I have the following RML <rml>
<body>
[some content cut for brevity]
<label><input type="checkbox" id="showNav" value="1"></input>Show Navmesh</label>
</body>
</rml> In release mode, I want to delete the [[discard]] doc->RemoveChild(doc->GetElementById("showNav")->GetParentNode()); Is there an easier way to do this? In JavaScript one can do |
Beta Was this translation helpful? Give feedback.
Answered by
mikke89
Dec 30, 2023
Replies: 1 comment
-
Yeah, that's the way to do it right now. I think it would make sense to add an |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ravbug
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, that's the way to do it right now. I think it would make sense to add an
Element::Remove()
method. Pull request? :)