This commit is contained in:
JMARyA 2025-01-16 18:22:52 +01:00
parent f3a85de02e
commit 86f61ff3f6
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
15 changed files with 918 additions and 41 deletions

View file

@ -15,12 +15,16 @@ pub async fn index_page(ctx: RequestContext) -> StringResponse {
h1 { "Hello World!" };
(Hover(
Padding(Text("").color(&Gray::_400)).x(ScreenValue::_10),
Link("/test", Text("Hello")).hx_get("/test").hx_get("/test").hx_trigger(
Event::on_load().delay("2s")
.and(Event::on_revealed())
Cursor::NorthEastResize.on(
Padding(Text("").color(&Gray::_400)).x(ScreenValue::_10)
)
))
).on(
Link("/test", Text("Hello")).hx_get("/test").hx_get("/test").hx_trigger(
Event::on_load().delay("2s")
.and(Event::on_revealed())
)
)
)
(content)