(defpackage #:test-clog
(:use #:cl #:clog)
(:export test))
(in-package :test-clog)
(defvar *last-obj*)
(defun on-new-window (win)
(let ((tmp))
(clog-connection:put-line (clog::connection-id win) "")
(setf tmp (attach-as-child win "myid"))
(setf (style tmp "background-color") "red")
(setf (property tmp "draggable") "true")
(when (equal (property tmp "draggable")
(setf (property tmp "innerHTML") "
I am draggable
")))
(setf tmp (create-child win "