From 86b31c147a4ecc4d6c989d7d15c4259581f8601c Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 16 Oct 2021 21:02:13 +0200 Subject: [PATCH] [+] action aspect can be html content --- web/types/making_a_web_site.anubis | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/web/types/making_a_web_site.anubis b/web/types/making_a_web_site.anubis index 6caad14..995ac3f 100644 --- a/web/types/making_a_web_site.anubis +++ b/web/types/making_a_web_site.anubis @@ -288,6 +288,8 @@ public type Actioner_Aspect: immediate_selector (List(CoreAttrs),WebArgName name, Int size, List((List(CoreAttrs),WebArgValue,String)) choices, Maybe(InitialValue) selected, String onchange_fn), html (List(CoreAttrs), HTML_Off_Form). +public define Actioner_Aspect html(HTML_Off_Form content) = html([], content). + public type BackgroundOption: repeat, // repeat the background in both directions repeat_horizontal, // repeat the background only horizontally -- libgit2 0.21.4