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
(title "Hi there!"))
(on-update '()) (on-update '())
(on-load '()) (on-load '())
(document (document
(text "Hello, World!") (text "Hello, world!")
(image (image (link "ablecorp.us/img.png"))
(link "ablecorp.us/img.png"))
(button :text "Click Me!!" (button :text "Click Me!!"
:callback :callback (fn [])))
(lambda '()))))

View file

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