This commit is contained in:
Rick Sprague 2024-10-28 10:03:58 -04:00
parent 9877b0d451
commit a044319056
3 changed files with 0 additions and 41 deletions

@ -1 +0,0 @@
Subproject commit f95d68fc99bdd0baddf98c597fbf770a0e2bb28c

View File

@ -1,39 +0,0 @@
using GenieFramework
@genietools
@in my_button = false
@in text = "Some text"
@out function1 = jsfunction"""() => console.log("A")"""
@handlers begin
@onchange text begin
println(text)
end
@onchange my_button begin
println("pressed")
end
end
function ui()
c = card([
card_section("This is a section", class="bg-primary text-white")
separator()
card_section("RR")
card_section("{{ text }}")
])
rv = row([
c
btn("A button", @click("my_button = !my_button"))
btn("A button", @click("function1"))
textfield("What is your name?", :text, placeholder="Type some text")
]; class="q-gutter-sm")
println(rv |> string)
return rv
end
@page("/", ui)
Server.isrunning() || Server.up()

@ -1 +0,0 @@
Subproject commit feca90734fc35a6f81c994e72efe0857a6c6b3a3