mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 10:40:45 -08:00
updates to use specifc element types
This commit is contained in:
parent
264cef0db2
commit
04b2fd316f
7 changed files with 27 additions and 15 deletions
|
|
@ -17,7 +17,8 @@
|
|||
|
||||
;; A CLOG-Element represents a block of HTML (we will see later ways to
|
||||
;; directly create buttons and all sorts of HTML elements in more lisp
|
||||
;; like ways with no knowledge of HTML or javascript.
|
||||
;; like ways with no knowledge of HTML or javascript. CREATE-CHILD
|
||||
;; allows any html element to be created and returned as a CLOG-Element.
|
||||
(create-child body "<h1>Hello World! (click me!)</h1>")))
|
||||
|
||||
(set-on-click hello-element ; Now we set a function to handle clicks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue