1import { Body, Button, Column, Label } from "@/domlink.ts"; 2 3const display = new Label("Number: 0"); 4let number = 0; 5Body.with( 6 new Column().with( 7 display, 8 new Button("Increment!", ()=>{ 9 display.text = `Number: ${++number}`; 10 }) 11 ) 12);