Current section

Files

Jump to
lustre src lustre@element.erl
Raw

src/lustre@element.erl

-module(lustre@element).
-compile([no_auto_import, nowarn_unused_vars]).
-export([node/3, html/3, base/1, head/2, meta/1, body/2, address/2, article/2, aside/2, footer/2, header/2, h1/2, h2/2, h3/2, h4/2, h5/2, h6/2, main/2, nav/2, section/2, blockquote/2, dd/2, 'div'/2, dl/2, dt/2, figcaption/2, figure/2, hr/1, li/2, menu/2, ol/2, p/2, pre/2, ul/2, a/2, abbr/2, b/2, bdi/2, bdo/2, br/1, cite/2, code/2, dfn/2, em/2, i/2, kbd/2, mark/2, rp/2, rt/2, ruby/2, s/2, samp/2, small/2, span/2, strong/2, sub/2, sup/2, time/2, u/2, var_/2, wbr/1, area/1, audio/2, img/1, map_/2, track/2, video/2, embed/1, iframe/1, object/2, param/2, picture/2, portal/1, source/1, svg/2, mathml/2, canvas/2, noscript/2, del/2, ins/2, caption/2, col/2, colgroup/2, table/2, tbody/2, td/2, tfoot/2, th/2, thead/2, tr/2, button/2, datalist/2, fieldset/2, form/2, input/1, label/2, legend/2, meter/2, optgroup/2, option/2, output/2, progress/2, select/2, textarea/1, details/2, dialog/2, summary/2, slot/2, template/2, stateful/2, fragment/1, text/1, style/2, title/2, map/2]).
-export_type([element/1]).
-type element(Msg) :: any() | {gleam_phantom, Msg}.
-spec node(binary(), list(lustre@attribute:attribute(GHY)), list(element(GHY))) -> element(GHY).
node(Field@0, Field@1, Field@2) ->
'../lustre.ffi.mjs':node(Field@0, Field@1, Field@2).
-spec html(list(lustre@attribute:attribute(FJS)), element(FJS), element(FJS)) -> element(FJS).
html(Attrs, Head, Body) ->
'..@lustre.ffi.mjs':node(<<"html"/utf8>>, Attrs, [Head, Body]).
-spec base(list(lustre@attribute:attribute(FJY))) -> element(FJY).
base(Attrs) ->
'..@lustre.ffi.mjs':node(<<"base"/utf8>>, Attrs, []).
-spec head(list(lustre@attribute:attribute(FKC)), list(element(FKC))) -> element(FKC).
head(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"head"/utf8>>, Attrs, Children).
-spec meta(list(lustre@attribute:attribute(FKI))) -> element(FKI).
meta(Attrs) ->
'..@lustre.ffi.mjs':node(<<"meta"/utf8>>, Attrs, []).
-spec body(list(lustre@attribute:attribute(FKU)), list(element(FKU))) -> element(FKU).
body(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"body"/utf8>>, Attrs, Children).
-spec address(list(lustre@attribute:attribute(FLA)), list(element(FLA))) -> element(FLA).
address(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"address"/utf8>>, Attrs, Children).
-spec article(list(lustre@attribute:attribute(FLG)), list(element(FLG))) -> element(FLG).
article(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"article"/utf8>>, Attrs, Children).
-spec aside(list(lustre@attribute:attribute(FLM)), list(element(FLM))) -> element(FLM).
aside(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"aside"/utf8>>, Attrs, Children).
-spec footer(list(lustre@attribute:attribute(FLS)), list(element(FLS))) -> element(FLS).
footer(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"footer"/utf8>>, Attrs, Children).
-spec header(list(lustre@attribute:attribute(FLY)), list(element(FLY))) -> element(FLY).
header(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"header"/utf8>>, Attrs, Children).
-spec h1(list(lustre@attribute:attribute(FME)), list(element(FME))) -> element(FME).
h1(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h1"/utf8>>, Attrs, Children).
-spec h2(list(lustre@attribute:attribute(FMK)), list(element(FMK))) -> element(FMK).
h2(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h2"/utf8>>, Attrs, Children).
-spec h3(list(lustre@attribute:attribute(FMQ)), list(element(FMQ))) -> element(FMQ).
h3(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h3"/utf8>>, Attrs, Children).
-spec h4(list(lustre@attribute:attribute(FMW)), list(element(FMW))) -> element(FMW).
h4(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h4"/utf8>>, Attrs, Children).
-spec h5(list(lustre@attribute:attribute(FNC)), list(element(FNC))) -> element(FNC).
h5(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h5"/utf8>>, Attrs, Children).
-spec h6(list(lustre@attribute:attribute(FNI)), list(element(FNI))) -> element(FNI).
h6(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h6"/utf8>>, Attrs, Children).
-spec main(list(lustre@attribute:attribute(FNO)), list(element(FNO))) -> element(FNO).
main(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"main"/utf8>>, Attrs, Children).
-spec nav(list(lustre@attribute:attribute(FNU)), list(element(FNU))) -> element(FNU).
nav(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"nav"/utf8>>, Attrs, Children).
-spec section(list(lustre@attribute:attribute(FOA)), list(element(FOA))) -> element(FOA).
section(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"section"/utf8>>, Attrs, Children).
-spec blockquote(list(lustre@attribute:attribute(FOG)), list(element(FOG))) -> element(FOG).
blockquote(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"blockquote"/utf8>>, Attrs, Children).
-spec dd(list(lustre@attribute:attribute(FOM)), list(element(FOM))) -> element(FOM).
dd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dd"/utf8>>, Attrs, Children).
-spec 'div'(list(lustre@attribute:attribute(FOS)), list(element(FOS))) -> element(FOS).
'div'(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"div"/utf8>>, Attrs, Children).
-spec dl(list(lustre@attribute:attribute(FOY)), list(element(FOY))) -> element(FOY).
dl(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dl"/utf8>>, Attrs, Children).
-spec dt(list(lustre@attribute:attribute(FPE)), list(element(FPE))) -> element(FPE).
dt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dt"/utf8>>, Attrs, Children).
-spec figcaption(list(lustre@attribute:attribute(FPK)), list(element(FPK))) -> element(FPK).
figcaption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figcaption"/utf8>>, Attrs, Children).
-spec figure(list(lustre@attribute:attribute(FPQ)), list(element(FPQ))) -> element(FPQ).
figure(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figure"/utf8>>, Attrs, Children).
-spec hr(list(lustre@attribute:attribute(FPW))) -> element(FPW).
hr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"hr"/utf8>>, Attrs, []).
-spec li(list(lustre@attribute:attribute(FQA)), list(element(FQA))) -> element(FQA).
li(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"li"/utf8>>, Attrs, Children).
-spec menu(list(lustre@attribute:attribute(FQG)), list(element(FQG))) -> element(FQG).
menu(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"menu"/utf8>>, Attrs, Children).
-spec ol(list(lustre@attribute:attribute(FQM)), list(element(FQM))) -> element(FQM).
ol(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ol"/utf8>>, Attrs, Children).
-spec p(list(lustre@attribute:attribute(FQS)), list(element(FQS))) -> element(FQS).
p(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"p"/utf8>>, Attrs, Children).
-spec pre(list(lustre@attribute:attribute(FQY)), list(element(FQY))) -> element(FQY).
pre(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"pre"/utf8>>, Attrs, Children).
-spec ul(list(lustre@attribute:attribute(FRE)), list(element(FRE))) -> element(FRE).
ul(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ul"/utf8>>, Attrs, Children).
-spec a(list(lustre@attribute:attribute(FRK)), list(element(FRK))) -> element(FRK).
a(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"a"/utf8>>, Attrs, Children).
-spec abbr(list(lustre@attribute:attribute(FRQ)), list(element(FRQ))) -> element(FRQ).
abbr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"abbr"/utf8>>, Attrs, Children).
-spec b(list(lustre@attribute:attribute(FRW)), list(element(FRW))) -> element(FRW).
b(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"b"/utf8>>, Attrs, Children).
-spec bdi(list(lustre@attribute:attribute(FSC)), list(element(FSC))) -> element(FSC).
bdi(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdi"/utf8>>, Attrs, Children).
-spec bdo(list(lustre@attribute:attribute(FSI)), list(element(FSI))) -> element(FSI).
bdo(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdo"/utf8>>, Attrs, Children).
-spec br(list(lustre@attribute:attribute(FSO))) -> element(FSO).
br(Attrs) ->
'..@lustre.ffi.mjs':node(<<"br"/utf8>>, Attrs, []).
-spec cite(list(lustre@attribute:attribute(FSS)), list(element(FSS))) -> element(FSS).
cite(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"cite"/utf8>>, Attrs, Children).
-spec code(list(lustre@attribute:attribute(FSY)), list(element(FSY))) -> element(FSY).
code(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"code"/utf8>>, Attrs, Children).
-spec dfn(list(lustre@attribute:attribute(FTE)), list(element(FTE))) -> element(FTE).
dfn(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dfn"/utf8>>, Attrs, Children).
-spec em(list(lustre@attribute:attribute(FTK)), list(element(FTK))) -> element(FTK).
em(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"em"/utf8>>, Attrs, Children).
-spec i(list(lustre@attribute:attribute(FTQ)), list(element(FTQ))) -> element(FTQ).
i(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"i"/utf8>>, Attrs, Children).
-spec kbd(list(lustre@attribute:attribute(FTW)), list(element(FTW))) -> element(FTW).
kbd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"kbd"/utf8>>, Attrs, Children).
-spec mark(list(lustre@attribute:attribute(FUC)), list(element(FUC))) -> element(FUC).
mark(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"mark"/utf8>>, Attrs, Children).
-spec rp(list(lustre@attribute:attribute(FUI)), list(element(FUI))) -> element(FUI).
rp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rp"/utf8>>, Attrs, Children).
-spec rt(list(lustre@attribute:attribute(FUO)), list(element(FUO))) -> element(FUO).
rt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rt"/utf8>>, Attrs, Children).
-spec ruby(list(lustre@attribute:attribute(FUU)), list(element(FUU))) -> element(FUU).
ruby(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ruby"/utf8>>, Attrs, Children).
-spec s(list(lustre@attribute:attribute(FVA)), list(element(FVA))) -> element(FVA).
s(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"s"/utf8>>, Attrs, Children).
-spec samp(list(lustre@attribute:attribute(FVG)), list(element(FVG))) -> element(FVG).
samp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"samp"/utf8>>, Attrs, Children).
-spec small(list(lustre@attribute:attribute(FVM)), list(element(FVM))) -> element(FVM).
small(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"small"/utf8>>, Attrs, Children).
-spec span(list(lustre@attribute:attribute(FVS)), list(element(FVS))) -> element(FVS).
span(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"span"/utf8>>, Attrs, Children).
-spec strong(list(lustre@attribute:attribute(FVY)), list(element(FVY))) -> element(FVY).
strong(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"strong"/utf8>>, Attrs, Children).
-spec sub(list(lustre@attribute:attribute(FWE)), list(element(FWE))) -> element(FWE).
sub(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sub"/utf8>>, Attrs, Children).
-spec sup(list(lustre@attribute:attribute(FWK)), list(element(FWK))) -> element(FWK).
sup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sup"/utf8>>, Attrs, Children).
-spec time(list(lustre@attribute:attribute(FWQ)), list(element(FWQ))) -> element(FWQ).
time(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"time"/utf8>>, Attrs, Children).
-spec u(list(lustre@attribute:attribute(FWW)), list(element(FWW))) -> element(FWW).
u(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"u"/utf8>>, Attrs, Children).
-spec var_(list(lustre@attribute:attribute(FXC)), list(element(FXC))) -> element(FXC).
var_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"var"/utf8>>, Attrs, Children).
-spec wbr(list(lustre@attribute:attribute(FXI))) -> element(FXI).
wbr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"wbr"/utf8>>, Attrs, []).
-spec area(list(lustre@attribute:attribute(FXM))) -> element(FXM).
area(Attrs) ->
'..@lustre.ffi.mjs':node(<<"area"/utf8>>, Attrs, []).
-spec audio(list(lustre@attribute:attribute(FXQ)), list(element(FXQ))) -> element(FXQ).
audio(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"audio"/utf8>>, Attrs, Children).
-spec img(list(lustre@attribute:attribute(FXW))) -> element(FXW).
img(Attrs) ->
'..@lustre.ffi.mjs':node(<<"img"/utf8>>, Attrs, []).
-spec map_(list(lustre@attribute:attribute(FYA)), list(element(FYA))) -> element(FYA).
map_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"map"/utf8>>, Attrs, Children).
-spec track(list(lustre@attribute:attribute(FYG)), list(element(FYG))) -> element(FYG).
track(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"track"/utf8>>, Attrs, Children).
-spec video(list(lustre@attribute:attribute(FYM)), list(element(FYM))) -> element(FYM).
video(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"video"/utf8>>, Attrs, Children).
-spec embed(list(lustre@attribute:attribute(FYS))) -> element(FYS).
embed(Attrs) ->
'..@lustre.ffi.mjs':node(<<"embed"/utf8>>, Attrs, []).
-spec iframe(list(lustre@attribute:attribute(FYW))) -> element(FYW).
iframe(Attrs) ->
'..@lustre.ffi.mjs':node(<<"iframe"/utf8>>, Attrs, []).
-spec object(list(lustre@attribute:attribute(FZA)), list(element(FZA))) -> element(FZA).
object(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"object"/utf8>>, Attrs, Children).
-spec param(list(lustre@attribute:attribute(FZG)), list(element(FZG))) -> element(FZG).
param(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"param"/utf8>>, Attrs, Children).
-spec picture(list(lustre@attribute:attribute(FZM)), list(element(FZM))) -> element(FZM).
picture(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"picture"/utf8>>, Attrs, Children).
-spec portal(list(lustre@attribute:attribute(FZS))) -> element(FZS).
portal(Attrs) ->
'..@lustre.ffi.mjs':node(<<"portal"/utf8>>, Attrs, []).
-spec source(list(lustre@attribute:attribute(FZW))) -> element(FZW).
source(Attrs) ->
'..@lustre.ffi.mjs':node(<<"source"/utf8>>, Attrs, []).
-spec svg(list(lustre@attribute:attribute(GAA)), list(element(GAA))) -> element(GAA).
svg(Attrs, Children) ->
'..@lustre.ffi.mjs':node(
<<"svg"/utf8>>,
[lustre@attribute:attribute(
<<"xmlns"/utf8>>,
<<"http://www.w3.org/2000/svg"/utf8>>
) |
Attrs],
Children
).
-spec mathml(list(lustre@attribute:attribute(GAG)), list(element(GAG))) -> element(GAG).
mathml(Attrs, Children) ->
'..@lustre.ffi.mjs':node(
<<"mathml"/utf8>>,
[lustre@attribute:attribute(
<<"xmlns"/utf8>>,
<<"http://www.w3.org/1998/Math/MathML"/utf8>>
) |
Attrs],
Children
).
-spec canvas(list(lustre@attribute:attribute(GAM)), list(element(GAM))) -> element(GAM).
canvas(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"canvas"/utf8>>, Attrs, Children).
-spec noscript(list(lustre@attribute:attribute(GAS)), list(element(GAS))) -> element(GAS).
noscript(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"noscript"/utf8>>, Attrs, Children).
-spec del(list(lustre@attribute:attribute(GAY)), list(element(GAY))) -> element(GAY).
del(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"del"/utf8>>, Attrs, Children).
-spec ins(list(lustre@attribute:attribute(GBE)), list(element(GBE))) -> element(GBE).
ins(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ins"/utf8>>, Attrs, Children).
-spec caption(list(lustre@attribute:attribute(GBK)), list(element(GBK))) -> element(GBK).
caption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"caption"/utf8>>, Attrs, Children).
-spec col(list(lustre@attribute:attribute(GBQ)), list(element(GBQ))) -> element(GBQ).
col(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"col"/utf8>>, Attrs, Children).
-spec colgroup(list(lustre@attribute:attribute(GBW)), list(element(GBW))) -> element(GBW).
colgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"colgroup"/utf8>>, Attrs, Children).
-spec table(list(lustre@attribute:attribute(GCC)), list(element(GCC))) -> element(GCC).
table(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"table"/utf8>>, Attrs, Children).
-spec tbody(list(lustre@attribute:attribute(GCI)), list(element(GCI))) -> element(GCI).
tbody(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tbody"/utf8>>, Attrs, Children).
-spec td(list(lustre@attribute:attribute(GCO)), list(element(GCO))) -> element(GCO).
td(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"td"/utf8>>, Attrs, Children).
-spec tfoot(list(lustre@attribute:attribute(GCU)), list(element(GCU))) -> element(GCU).
tfoot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tfoot"/utf8>>, Attrs, Children).
-spec th(list(lustre@attribute:attribute(GDA)), list(element(GDA))) -> element(GDA).
th(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"th"/utf8>>, Attrs, Children).
-spec thead(list(lustre@attribute:attribute(GDG)), list(element(GDG))) -> element(GDG).
thead(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"thead"/utf8>>, Attrs, Children).
-spec tr(list(lustre@attribute:attribute(GDM)), list(element(GDM))) -> element(GDM).
tr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tr"/utf8>>, Attrs, Children).
-spec button(list(lustre@attribute:attribute(GDS)), list(element(GDS))) -> element(GDS).
button(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"button"/utf8>>, Attrs, Children).
-spec datalist(list(lustre@attribute:attribute(GDY)), list(element(GDY))) -> element(GDY).
datalist(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"datalist"/utf8>>, Attrs, Children).
-spec fieldset(list(lustre@attribute:attribute(GEE)), list(element(GEE))) -> element(GEE).
fieldset(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"fieldset"/utf8>>, Attrs, Children).
-spec form(list(lustre@attribute:attribute(GEK)), list(element(GEK))) -> element(GEK).
form(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"form"/utf8>>, Attrs, Children).
-spec input(list(lustre@attribute:attribute(GEQ))) -> element(GEQ).
input(Attrs) ->
'..@lustre.ffi.mjs':node(<<"input"/utf8>>, Attrs, []).
-spec label(list(lustre@attribute:attribute(GEU)), list(element(GEU))) -> element(GEU).
label(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"label"/utf8>>, Attrs, Children).
-spec legend(list(lustre@attribute:attribute(GFA)), list(element(GFA))) -> element(GFA).
legend(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"legend"/utf8>>, Attrs, Children).
-spec meter(list(lustre@attribute:attribute(GFG)), list(element(GFG))) -> element(GFG).
meter(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"meter"/utf8>>, Attrs, Children).
-spec optgroup(list(lustre@attribute:attribute(GFM)), list(element(GFM))) -> element(GFM).
optgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"optgroup"/utf8>>, Attrs, Children).
-spec option(list(lustre@attribute:attribute(GFS)), list(element(GFS))) -> element(GFS).
option(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"option"/utf8>>, Attrs, Children).
-spec output(list(lustre@attribute:attribute(GFY)), list(element(GFY))) -> element(GFY).
output(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"output"/utf8>>, Attrs, Children).
-spec progress(list(lustre@attribute:attribute(GGE)), list(element(GGE))) -> element(GGE).
progress(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"progress"/utf8>>, Attrs, Children).
-spec select(list(lustre@attribute:attribute(GGK)), list(element(GGK))) -> element(GGK).
select(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"select"/utf8>>, Attrs, Children).
-spec textarea(list(lustre@attribute:attribute(GGQ))) -> element(GGQ).
textarea(Attrs) ->
'..@lustre.ffi.mjs':node(<<"textarea"/utf8>>, Attrs, []).
-spec details(list(lustre@attribute:attribute(GGU)), list(element(GGU))) -> element(GGU).
details(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"details"/utf8>>, Attrs, Children).
-spec dialog(list(lustre@attribute:attribute(GHA)), list(element(GHA))) -> element(GHA).
dialog(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dialog"/utf8>>, Attrs, Children).
-spec summary(list(lustre@attribute:attribute(GHG)), list(element(GHG))) -> element(GHG).
summary(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"summary"/utf8>>, Attrs, Children).
-spec slot(list(lustre@attribute:attribute(GHM)), list(element(GHM))) -> element(GHM).
slot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"slot"/utf8>>, Attrs, Children).
-spec template(list(lustre@attribute:attribute(GHS)), list(element(GHS))) -> element(GHS).
template(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"template"/utf8>>, Attrs, Children).
-spec stateful(GIG, fun((GIG, fun((GIG) -> nil)) -> element(GIE))) -> element(GIE).
stateful(Field@0, Field@1) ->
'../lustre.ffi.mjs':stateful(Field@0, Field@1).
-spec fragment(list(element(GII))) -> element(GII).
fragment(Field@0) ->
'../lustre.ffi.mjs':fragment(Field@0).
-spec text(binary()) -> element(any()).
text(Field@0) ->
'../lustre.ffi.mjs':text(Field@0).
-spec style(list(lustre@attribute:attribute(FKM)), binary()) -> element(FKM).
style(Attrs, Css) ->
'..@lustre.ffi.mjs':node(
<<"style"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Css)]
).
-spec title(list(lustre@attribute:attribute(FKQ)), binary()) -> element(FKQ).
title(Attrs, Name) ->
'..@lustre.ffi.mjs':node(
<<"title"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Name)]
).
-spec map(fun(() -> element(GIQ)), fun((GIQ) -> GIO)) -> element(GIO).
map(Field@0, Field@1) ->
'../lustre.ffi.mjs':map(Field@0, Field@1).