Support target object on events

This commit is contained in:
David Botton 2021-01-06 13:17:21 -05:00
parent f897486c81
commit 34971a7c90
10 changed files with 119 additions and 50 deletions

View file

@ -21,7 +21,7 @@
(let ((x 0)) ; A closure - each call to on-new-window will
(set-on-click hello-element ; create a different version of this closer.
(lambda ()
(lambda (obj)
(incf x)
(dotimes (n x)
(create-child body