changed examples

This commit is contained in:
Erin 2022-07-21 01:11:38 +02:00 committed by ondra05
parent 8c47a30f8e
commit d52e9a2800
3 changed files with 16 additions and 19 deletions

View file

@ -1,3 +1,2 @@
(wisp (document
(document (text "Hello, world!"))
(text "Hello, World!")))

View file

@ -1,12 +1,8 @@
(wisp (metadata (title "Hi there!"))
(metadata (on-update '())
(title "Hi there!")) (on-load '())
(on-update '()) (document
(on-load '()) (text "Hello, world!")
(document (image (link "ablecorp.us/img.png"))
(text "Hello, World!") (button :text "Click Me!!"
(image :callback (fn [])))
(link "ablecorp.us/img.png"))
(button :text "Click Me!!"
:callback
(lambda '()))))

View file

@ -1,4 +1,6 @@
(wisp (style
(style :id 1 '(:size 12 )) :id 1
(document { :size 12})
(text :style 1 "Hello, World!")))
(document
(text :style 1 "Hello, world!"))