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, 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(GCG)), list(element(GCG))) -> element(GCG).
node(Field@0, Field@1, Field@2) ->
'../lustre.ffi.mjs':node(Field@0, Field@1, Field@2).
-spec html(list(lustre@attribute:attribute(FEA)), element(FEA), element(FEA)) -> element(FEA).
html(Attrs, Head, Body) ->
'..@lustre.ffi.mjs':node(<<"html"/utf8>>, Attrs, [Head, Body]).
-spec base(list(lustre@attribute:attribute(FEG))) -> element(FEG).
base(Attrs) ->
'..@lustre.ffi.mjs':node(<<"base"/utf8>>, Attrs, []).
-spec head(list(lustre@attribute:attribute(FEK)), list(element(FEK))) -> element(FEK).
head(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"head"/utf8>>, Attrs, Children).
-spec meta(list(lustre@attribute:attribute(FEQ))) -> element(FEQ).
meta(Attrs) ->
'..@lustre.ffi.mjs':node(<<"meta"/utf8>>, Attrs, []).
-spec body(list(lustre@attribute:attribute(FFC)), list(element(FFC))) -> element(FFC).
body(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"body"/utf8>>, Attrs, Children).
-spec address(list(lustre@attribute:attribute(FFI)), list(element(FFI))) -> element(FFI).
address(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"address"/utf8>>, Attrs, Children).
-spec article(list(lustre@attribute:attribute(FFO)), list(element(FFO))) -> element(FFO).
article(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"article"/utf8>>, Attrs, Children).
-spec aside(list(lustre@attribute:attribute(FFU)), list(element(FFU))) -> element(FFU).
aside(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"aside"/utf8>>, Attrs, Children).
-spec footer(list(lustre@attribute:attribute(FGA)), list(element(FGA))) -> element(FGA).
footer(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"footer"/utf8>>, Attrs, Children).
-spec header(list(lustre@attribute:attribute(FGG)), list(element(FGG))) -> element(FGG).
header(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"header"/utf8>>, Attrs, Children).
-spec h1(list(lustre@attribute:attribute(FGM)), list(element(FGM))) -> element(FGM).
h1(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h1"/utf8>>, Attrs, Children).
-spec h2(list(lustre@attribute:attribute(FGS)), list(element(FGS))) -> element(FGS).
h2(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h2"/utf8>>, Attrs, Children).
-spec h3(list(lustre@attribute:attribute(FGY)), list(element(FGY))) -> element(FGY).
h3(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h3"/utf8>>, Attrs, Children).
-spec h4(list(lustre@attribute:attribute(FHE)), list(element(FHE))) -> element(FHE).
h4(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h4"/utf8>>, Attrs, Children).
-spec h5(list(lustre@attribute:attribute(FHK)), list(element(FHK))) -> element(FHK).
h5(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h5"/utf8>>, Attrs, Children).
-spec h6(list(lustre@attribute:attribute(FHQ)), list(element(FHQ))) -> element(FHQ).
h6(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h6"/utf8>>, Attrs, Children).
-spec main(list(lustre@attribute:attribute(FHW)), list(element(FHW))) -> element(FHW).
main(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"main"/utf8>>, Attrs, Children).
-spec nav(list(lustre@attribute:attribute(FIC)), list(element(FIC))) -> element(FIC).
nav(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"nav"/utf8>>, Attrs, Children).
-spec section(list(lustre@attribute:attribute(FII)), list(element(FII))) -> element(FII).
section(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"section"/utf8>>, Attrs, Children).
-spec blockquote(list(lustre@attribute:attribute(FIO)), list(element(FIO))) -> element(FIO).
blockquote(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"blockquote"/utf8>>, Attrs, Children).
-spec dd(list(lustre@attribute:attribute(FIU)), list(element(FIU))) -> element(FIU).
dd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dd"/utf8>>, Attrs, Children).
-spec 'div'(list(lustre@attribute:attribute(FJA)), list(element(FJA))) -> element(FJA).
'div'(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"div"/utf8>>, Attrs, Children).
-spec dl(list(lustre@attribute:attribute(FJG)), list(element(FJG))) -> element(FJG).
dl(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dl"/utf8>>, Attrs, Children).
-spec dt(list(lustre@attribute:attribute(FJM)), list(element(FJM))) -> element(FJM).
dt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dt"/utf8>>, Attrs, Children).
-spec figcaption(list(lustre@attribute:attribute(FJS)), list(element(FJS))) -> element(FJS).
figcaption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figcaption"/utf8>>, Attrs, Children).
-spec figure(list(lustre@attribute:attribute(FJY)), list(element(FJY))) -> element(FJY).
figure(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figure"/utf8>>, Attrs, Children).
-spec hr(list(lustre@attribute:attribute(FKE))) -> element(FKE).
hr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"hr"/utf8>>, Attrs, []).
-spec li(list(lustre@attribute:attribute(FKI)), list(element(FKI))) -> element(FKI).
li(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"li"/utf8>>, Attrs, Children).
-spec menu(list(lustre@attribute:attribute(FKO)), list(element(FKO))) -> element(FKO).
menu(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"menu"/utf8>>, Attrs, Children).
-spec ol(list(lustre@attribute:attribute(FKU)), list(element(FKU))) -> element(FKU).
ol(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ol"/utf8>>, Attrs, Children).
-spec p(list(lustre@attribute:attribute(FLA)), list(element(FLA))) -> element(FLA).
p(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"p"/utf8>>, Attrs, Children).
-spec pre(list(lustre@attribute:attribute(FLG)), list(element(FLG))) -> element(FLG).
pre(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"pre"/utf8>>, Attrs, Children).
-spec ul(list(lustre@attribute:attribute(FLM)), list(element(FLM))) -> element(FLM).
ul(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ul"/utf8>>, Attrs, Children).
-spec a(list(lustre@attribute:attribute(FLS)), list(element(FLS))) -> element(FLS).
a(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"a"/utf8>>, Attrs, Children).
-spec abbr(list(lustre@attribute:attribute(FLY)), list(element(FLY))) -> element(FLY).
abbr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"abbr"/utf8>>, Attrs, Children).
-spec b(list(lustre@attribute:attribute(FME)), list(element(FME))) -> element(FME).
b(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"b"/utf8>>, Attrs, Children).
-spec bdi(list(lustre@attribute:attribute(FMK)), list(element(FMK))) -> element(FMK).
bdi(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdi"/utf8>>, Attrs, Children).
-spec bdo(list(lustre@attribute:attribute(FMQ)), list(element(FMQ))) -> element(FMQ).
bdo(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdo"/utf8>>, Attrs, Children).
-spec br(list(lustre@attribute:attribute(FMW))) -> element(FMW).
br(Attrs) ->
'..@lustre.ffi.mjs':node(<<"br"/utf8>>, Attrs, []).
-spec cite(list(lustre@attribute:attribute(FNA)), list(element(FNA))) -> element(FNA).
cite(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"cite"/utf8>>, Attrs, Children).
-spec code(list(lustre@attribute:attribute(FNG)), list(element(FNG))) -> element(FNG).
code(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"code"/utf8>>, Attrs, Children).
-spec dfn(list(lustre@attribute:attribute(FNM)), list(element(FNM))) -> element(FNM).
dfn(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dfn"/utf8>>, Attrs, Children).
-spec em(list(lustre@attribute:attribute(FNS)), list(element(FNS))) -> element(FNS).
em(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"em"/utf8>>, Attrs, Children).
-spec i(list(lustre@attribute:attribute(FNY)), list(element(FNY))) -> element(FNY).
i(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"i"/utf8>>, Attrs, Children).
-spec kbd(list(lustre@attribute:attribute(FOE)), list(element(FOE))) -> element(FOE).
kbd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"kbd"/utf8>>, Attrs, Children).
-spec mark(list(lustre@attribute:attribute(FOK)), list(element(FOK))) -> element(FOK).
mark(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"mark"/utf8>>, Attrs, Children).
-spec rp(list(lustre@attribute:attribute(FOQ)), list(element(FOQ))) -> element(FOQ).
rp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rp"/utf8>>, Attrs, Children).
-spec rt(list(lustre@attribute:attribute(FOW)), list(element(FOW))) -> element(FOW).
rt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rt"/utf8>>, Attrs, Children).
-spec ruby(list(lustre@attribute:attribute(FPC)), list(element(FPC))) -> element(FPC).
ruby(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ruby"/utf8>>, Attrs, Children).
-spec s(list(lustre@attribute:attribute(FPI)), list(element(FPI))) -> element(FPI).
s(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"s"/utf8>>, Attrs, Children).
-spec samp(list(lustre@attribute:attribute(FPO)), list(element(FPO))) -> element(FPO).
samp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"samp"/utf8>>, Attrs, Children).
-spec small(list(lustre@attribute:attribute(FPU)), list(element(FPU))) -> element(FPU).
small(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"small"/utf8>>, Attrs, Children).
-spec span(list(lustre@attribute:attribute(FQA)), list(element(FQA))) -> element(FQA).
span(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"span"/utf8>>, Attrs, Children).
-spec strong(list(lustre@attribute:attribute(FQG)), list(element(FQG))) -> element(FQG).
strong(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"strong"/utf8>>, Attrs, Children).
-spec sub(list(lustre@attribute:attribute(FQM)), list(element(FQM))) -> element(FQM).
sub(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sub"/utf8>>, Attrs, Children).
-spec sup(list(lustre@attribute:attribute(FQS)), list(element(FQS))) -> element(FQS).
sup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sup"/utf8>>, Attrs, Children).
-spec time(list(lustre@attribute:attribute(FQY)), list(element(FQY))) -> element(FQY).
time(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"time"/utf8>>, Attrs, Children).
-spec u(list(lustre@attribute:attribute(FRE)), list(element(FRE))) -> element(FRE).
u(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"u"/utf8>>, Attrs, Children).
-spec var_(list(lustre@attribute:attribute(FRK)), list(element(FRK))) -> element(FRK).
var_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"var"/utf8>>, Attrs, Children).
-spec wbr(list(lustre@attribute:attribute(FRQ))) -> element(FRQ).
wbr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"wbr"/utf8>>, Attrs, []).
-spec area(list(lustre@attribute:attribute(FRU))) -> element(FRU).
area(Attrs) ->
'..@lustre.ffi.mjs':node(<<"area"/utf8>>, Attrs, []).
-spec audio(list(lustre@attribute:attribute(FRY)), list(element(FRY))) -> element(FRY).
audio(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"audio"/utf8>>, Attrs, Children).
-spec img(list(lustre@attribute:attribute(FSE))) -> element(FSE).
img(Attrs) ->
'..@lustre.ffi.mjs':node(<<"img"/utf8>>, Attrs, []).
-spec map_(list(lustre@attribute:attribute(FSI)), list(element(FSI))) -> element(FSI).
map_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"map"/utf8>>, Attrs, Children).
-spec track(list(lustre@attribute:attribute(FSO)), list(element(FSO))) -> element(FSO).
track(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"track"/utf8>>, Attrs, Children).
-spec video(list(lustre@attribute:attribute(FSU)), list(element(FSU))) -> element(FSU).
video(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"video"/utf8>>, Attrs, Children).
-spec embed(list(lustre@attribute:attribute(FTA))) -> element(FTA).
embed(Attrs) ->
'..@lustre.ffi.mjs':node(<<"embed"/utf8>>, Attrs, []).
-spec iframe(list(lustre@attribute:attribute(FTE))) -> element(FTE).
iframe(Attrs) ->
'..@lustre.ffi.mjs':node(<<"iframe"/utf8>>, Attrs, []).
-spec object(list(lustre@attribute:attribute(FTI)), list(element(FTI))) -> element(FTI).
object(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"object"/utf8>>, Attrs, Children).
-spec param(list(lustre@attribute:attribute(FTO)), list(element(FTO))) -> element(FTO).
param(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"param"/utf8>>, Attrs, Children).
-spec picture(list(lustre@attribute:attribute(FTU)), list(element(FTU))) -> element(FTU).
picture(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"picture"/utf8>>, Attrs, Children).
-spec portal(list(lustre@attribute:attribute(FUA))) -> element(FUA).
portal(Attrs) ->
'..@lustre.ffi.mjs':node(<<"portal"/utf8>>, Attrs, []).
-spec source(list(lustre@attribute:attribute(FUE))) -> element(FUE).
source(Attrs) ->
'..@lustre.ffi.mjs':node(<<"source"/utf8>>, Attrs, []).
-spec svg(list(lustre@attribute:attribute(FUI)), list(element(FUI))) -> element(FUI).
svg(Attrs, Children) ->
'..@lustre.ffi.mjs':node(
<<"svg"/utf8>>,
['..@lustre.ffi.mjs':attr(
<<"xmlns"/utf8>>,
<<"http://www.w3.org/2000/svg"/utf8>>
) |
Attrs],
Children
).
-spec mathml(list(lustre@attribute:attribute(FUO)), list(element(FUO))) -> element(FUO).
mathml(Attrs, Children) ->
'..@lustre.ffi.mjs':node(
<<"mathml"/utf8>>,
['..@lustre.ffi.mjs':attr(
<<"xmlns"/utf8>>,
<<"http://www.w3.org/1998/Math/MathML"/utf8>>
) |
Attrs],
Children
).
-spec canvas(list(lustre@attribute:attribute(FUU)), list(element(FUU))) -> element(FUU).
canvas(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"canvas"/utf8>>, Attrs, Children).
-spec noscript(list(lustre@attribute:attribute(FVA)), list(element(FVA))) -> element(FVA).
noscript(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"noscript"/utf8>>, Attrs, Children).
-spec del(list(lustre@attribute:attribute(FVG)), list(element(FVG))) -> element(FVG).
del(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"del"/utf8>>, Attrs, Children).
-spec ins(list(lustre@attribute:attribute(FVM)), list(element(FVM))) -> element(FVM).
ins(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ins"/utf8>>, Attrs, Children).
-spec caption(list(lustre@attribute:attribute(FVS)), list(element(FVS))) -> element(FVS).
caption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"caption"/utf8>>, Attrs, Children).
-spec col(list(lustre@attribute:attribute(FVY)), list(element(FVY))) -> element(FVY).
col(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"col"/utf8>>, Attrs, Children).
-spec colgroup(list(lustre@attribute:attribute(FWE)), list(element(FWE))) -> element(FWE).
colgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"colgroup"/utf8>>, Attrs, Children).
-spec table(list(lustre@attribute:attribute(FWK)), list(element(FWK))) -> element(FWK).
table(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"table"/utf8>>, Attrs, Children).
-spec tbody(list(lustre@attribute:attribute(FWQ)), list(element(FWQ))) -> element(FWQ).
tbody(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tbody"/utf8>>, Attrs, Children).
-spec td(list(lustre@attribute:attribute(FWW)), list(element(FWW))) -> element(FWW).
td(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"td"/utf8>>, Attrs, Children).
-spec tfoot(list(lustre@attribute:attribute(FXC)), list(element(FXC))) -> element(FXC).
tfoot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tfoot"/utf8>>, Attrs, Children).
-spec th(list(lustre@attribute:attribute(FXI)), list(element(FXI))) -> element(FXI).
th(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"th"/utf8>>, Attrs, Children).
-spec thead(list(lustre@attribute:attribute(FXO)), list(element(FXO))) -> element(FXO).
thead(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"thead"/utf8>>, Attrs, Children).
-spec tr(list(lustre@attribute:attribute(FXU)), list(element(FXU))) -> element(FXU).
tr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tr"/utf8>>, Attrs, Children).
-spec button(list(lustre@attribute:attribute(FYA)), list(element(FYA))) -> element(FYA).
button(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"button"/utf8>>, Attrs, Children).
-spec datalist(list(lustre@attribute:attribute(FYG)), list(element(FYG))) -> element(FYG).
datalist(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"datalist"/utf8>>, Attrs, Children).
-spec fieldset(list(lustre@attribute:attribute(FYM)), list(element(FYM))) -> element(FYM).
fieldset(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"fieldset"/utf8>>, Attrs, Children).
-spec form(list(lustre@attribute:attribute(FYS)), list(element(FYS))) -> element(FYS).
form(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"form"/utf8>>, Attrs, Children).
-spec input(list(lustre@attribute:attribute(FYY))) -> element(FYY).
input(Attrs) ->
'..@lustre.ffi.mjs':node(<<"input"/utf8>>, Attrs, []).
-spec label(list(lustre@attribute:attribute(FZC)), list(element(FZC))) -> element(FZC).
label(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"label"/utf8>>, Attrs, Children).
-spec legend(list(lustre@attribute:attribute(FZI)), list(element(FZI))) -> element(FZI).
legend(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"legend"/utf8>>, Attrs, Children).
-spec meter(list(lustre@attribute:attribute(FZO)), list(element(FZO))) -> element(FZO).
meter(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"meter"/utf8>>, Attrs, Children).
-spec optgroup(list(lustre@attribute:attribute(FZU)), list(element(FZU))) -> element(FZU).
optgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"optgroup"/utf8>>, Attrs, Children).
-spec option(list(lustre@attribute:attribute(GAA)), list(element(GAA))) -> element(GAA).
option(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"option"/utf8>>, Attrs, Children).
-spec output(list(lustre@attribute:attribute(GAG)), list(element(GAG))) -> element(GAG).
output(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"output"/utf8>>, Attrs, Children).
-spec progress(list(lustre@attribute:attribute(GAM)), list(element(GAM))) -> element(GAM).
progress(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"progress"/utf8>>, Attrs, Children).
-spec select(list(lustre@attribute:attribute(GAS)), list(element(GAS))) -> element(GAS).
select(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"select"/utf8>>, Attrs, Children).
-spec textarea(list(lustre@attribute:attribute(GAY))) -> element(GAY).
textarea(Attrs) ->
'..@lustre.ffi.mjs':node(<<"textarea"/utf8>>, Attrs, []).
-spec details(list(lustre@attribute:attribute(GBC)), list(element(GBC))) -> element(GBC).
details(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"details"/utf8>>, Attrs, Children).
-spec dialog(list(lustre@attribute:attribute(GBI)), list(element(GBI))) -> element(GBI).
dialog(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dialog"/utf8>>, Attrs, Children).
-spec summary(list(lustre@attribute:attribute(GBO)), list(element(GBO))) -> element(GBO).
summary(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"summary"/utf8>>, Attrs, Children).
-spec slot(list(lustre@attribute:attribute(GBU)), list(element(GBU))) -> element(GBU).
slot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"slot"/utf8>>, Attrs, Children).
-spec template(list(lustre@attribute:attribute(GCA)), list(element(GCA))) -> element(GCA).
template(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"template"/utf8>>, Attrs, Children).
-spec text(binary()) -> element(any()).
text(Field@0) ->
'../lustre.ffi.mjs':text(Field@0).
-spec style(list(lustre@attribute:attribute(FEU)), binary()) -> element(FEU).
style(Attrs, Css) ->
'..@lustre.ffi.mjs':node(
<<"style"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Css)]
).
-spec title(list(lustre@attribute:attribute(FEY)), binary()) -> element(FEY).
title(Attrs, Name) ->
'..@lustre.ffi.mjs':node(
<<"title"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Name)]
).
-spec map(element(GCQ), fun((GCQ) -> GCO)) -> element(GCO).
map(Field@0, Field@1) ->
'../lustre.ffi.mjs':map(Field@0, Field@1).