Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// preventDefault on a checkbox's click: it stays unchecked, and the event says defaultPrevented.
// proves: api.Event.preventDefault, html.elements.input.type_checkbox
import { trace } from "parity";
export const steps = [{ click: "box" }];
export default function Case() {
return (
<div data-testid="root" className="h-full w-full bg-white p-4 text-slate-900">
<input data-testid="box" type="checkbox" className="h-6 w-6" onClick={(e) => { e.preventDefault(); trace("click", "box", e.defaultPrevented); }} />
</div>
);
}