Commit 86b31c147a4ecc4d6c989d7d15c4259581f8601c

Authored by David RENÉ
1 parent cabe3224

[+] action aspect can be html content

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
web/types/making_a_web_site.anubis
... ... @@ -288,6 +288,8 @@ public type Actioner_Aspect:
288 288 immediate_selector (List(CoreAttrs),WebArgName name, Int size, List((List(CoreAttrs),WebArgValue,String)) choices, Maybe(InitialValue) selected, String onchange_fn),
289 289 html (List(CoreAttrs), HTML_Off_Form).
290 290  
  291 +public define Actioner_Aspect html(HTML_Off_Form content) = html([], content).
  292 +
291 293 public type BackgroundOption:
292 294 repeat, // repeat the background in both directions
293 295 repeat_horizontal, // repeat the background only horizontally
... ...