Current section

Files

Jump to
lustre src lustre@element.erl
Raw

src/lustre@element.erl

-module(lustre@element).
-compile(no_auto_import).
-export([node/3, stateful/2, fragment/1, text/1, map/2, html/3, base/1, head/2, meta/1, style/2, title/2, 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]).
-export_type([element/1]).
-type element(Msg) :: any() | {gleam_phantom, Msg}.
-spec node(binary(), list(lustre@attribute:attribute(FAP)), list(element(FAP))) -> element(FAP).
node(Field@0, Field@1, Field@2) ->
'../ffi.mjs':node(Field@0, Field@1, Field@2).
-spec stateful(FAX, fun((FAX, fun((FAX) -> nil)) -> element(FAV))) -> element(FAV).
stateful(Field@0, Field@1) ->
'../ffi.mjs':stateful(Field@0, Field@1).
-spec fragment(list(element(FAZ))) -> element(FAZ).
fragment(Field@0) ->
'../ffi.mjs':fragment(Field@0).
-spec text(binary()) -> element(any()).
text(Field@0) ->
'../ffi.mjs':text(Field@0).
-spec map(element(FBH), fun((FBH) -> FBF)) -> element(FBF).
map(Field@0, Field@1) ->
'../ffi.mjs':map(Field@0, Field@1).
-spec html(list(lustre@attribute:attribute(FBJ)), element(FBJ), element(FBJ)) -> element(FBJ).
html(Attrs, Head, Body) ->
'..@ffi.mjs':node(<<"html"/utf8>>, Attrs, [Head, Body]).
-spec base(list(lustre@attribute:attribute(FBP))) -> element(FBP).
base(Attrs) ->
'..@ffi.mjs':node(<<"base"/utf8>>, Attrs, []).
-spec head(list(lustre@attribute:attribute(FBT)), list(element(FBT))) -> element(FBT).
head(Attrs, Children) ->
'..@ffi.mjs':node(<<"head"/utf8>>, Attrs, Children).
-spec meta(list(lustre@attribute:attribute(FBZ))) -> element(FBZ).
meta(Attrs) ->
'..@ffi.mjs':node(<<"meta"/utf8>>, Attrs, []).
-spec style(list(lustre@attribute:attribute(FCD)), binary()) -> element(FCD).
style(Attrs, Css) ->
'..@ffi.mjs':node(<<"style"/utf8>>, Attrs, ['..@ffi.mjs':text(Css)]).
-spec title(list(lustre@attribute:attribute(FCH)), binary()) -> element(FCH).
title(Attrs, Name) ->
'..@ffi.mjs':node(<<"title"/utf8>>, Attrs, ['..@ffi.mjs':text(Name)]).
-spec body(list(lustre@attribute:attribute(FCL)), list(element(FCL))) -> element(FCL).
body(Attrs, Children) ->
'..@ffi.mjs':node(<<"body"/utf8>>, Attrs, Children).
-spec address(list(lustre@attribute:attribute(FCR)), list(element(FCR))) -> element(FCR).
address(Attrs, Children) ->
'..@ffi.mjs':node(<<"address"/utf8>>, Attrs, Children).
-spec article(list(lustre@attribute:attribute(FCX)), list(element(FCX))) -> element(FCX).
article(Attrs, Children) ->
'..@ffi.mjs':node(<<"article"/utf8>>, Attrs, Children).
-spec aside(list(lustre@attribute:attribute(FDD)), list(element(FDD))) -> element(FDD).
aside(Attrs, Children) ->
'..@ffi.mjs':node(<<"aside"/utf8>>, Attrs, Children).
-spec footer(list(lustre@attribute:attribute(FDJ)), list(element(FDJ))) -> element(FDJ).
footer(Attrs, Children) ->
'..@ffi.mjs':node(<<"footer"/utf8>>, Attrs, Children).
-spec header(list(lustre@attribute:attribute(FDP)), list(element(FDP))) -> element(FDP).
header(Attrs, Children) ->
'..@ffi.mjs':node(<<"header"/utf8>>, Attrs, Children).
-spec h1(list(lustre@attribute:attribute(FDV)), list(element(FDV))) -> element(FDV).
h1(Attrs, Children) ->
'..@ffi.mjs':node(<<"h1"/utf8>>, Attrs, Children).
-spec h2(list(lustre@attribute:attribute(FEB)), list(element(FEB))) -> element(FEB).
h2(Attrs, Children) ->
'..@ffi.mjs':node(<<"h2"/utf8>>, Attrs, Children).
-spec h3(list(lustre@attribute:attribute(FEH)), list(element(FEH))) -> element(FEH).
h3(Attrs, Children) ->
'..@ffi.mjs':node(<<"h3"/utf8>>, Attrs, Children).
-spec h4(list(lustre@attribute:attribute(FEN)), list(element(FEN))) -> element(FEN).
h4(Attrs, Children) ->
'..@ffi.mjs':node(<<"h4"/utf8>>, Attrs, Children).
-spec h5(list(lustre@attribute:attribute(FET)), list(element(FET))) -> element(FET).
h5(Attrs, Children) ->
'..@ffi.mjs':node(<<"h5"/utf8>>, Attrs, Children).
-spec h6(list(lustre@attribute:attribute(FEZ)), list(element(FEZ))) -> element(FEZ).
h6(Attrs, Children) ->
'..@ffi.mjs':node(<<"h6"/utf8>>, Attrs, Children).
-spec main(list(lustre@attribute:attribute(FFF)), list(element(FFF))) -> element(FFF).
main(Attrs, Children) ->
'..@ffi.mjs':node(<<"main"/utf8>>, Attrs, Children).
-spec nav(list(lustre@attribute:attribute(FFL)), list(element(FFL))) -> element(FFL).
nav(Attrs, Children) ->
'..@ffi.mjs':node(<<"nav"/utf8>>, Attrs, Children).
-spec section(list(lustre@attribute:attribute(FFR)), list(element(FFR))) -> element(FFR).
section(Attrs, Children) ->
'..@ffi.mjs':node(<<"section"/utf8>>, Attrs, Children).
-spec blockquote(list(lustre@attribute:attribute(FFX)), list(element(FFX))) -> element(FFX).
blockquote(Attrs, Children) ->
'..@ffi.mjs':node(<<"blockquote"/utf8>>, Attrs, Children).
-spec dd(list(lustre@attribute:attribute(FGD)), list(element(FGD))) -> element(FGD).
dd(Attrs, Children) ->
'..@ffi.mjs':node(<<"dd"/utf8>>, Attrs, Children).
-spec 'div'(list(lustre@attribute:attribute(FGJ)), list(element(FGJ))) -> element(FGJ).
'div'(Attrs, Children) ->
'..@ffi.mjs':node(<<"div"/utf8>>, Attrs, Children).
-spec dl(list(lustre@attribute:attribute(FGP)), list(element(FGP))) -> element(FGP).
dl(Attrs, Children) ->
'..@ffi.mjs':node(<<"dl"/utf8>>, Attrs, Children).
-spec dt(list(lustre@attribute:attribute(FGV)), list(element(FGV))) -> element(FGV).
dt(Attrs, Children) ->
'..@ffi.mjs':node(<<"dt"/utf8>>, Attrs, Children).
-spec figcaption(list(lustre@attribute:attribute(FHB)), list(element(FHB))) -> element(FHB).
figcaption(Attrs, Children) ->
'..@ffi.mjs':node(<<"figcaption"/utf8>>, Attrs, Children).
-spec figure(list(lustre@attribute:attribute(FHH)), list(element(FHH))) -> element(FHH).
figure(Attrs, Children) ->
'..@ffi.mjs':node(<<"figure"/utf8>>, Attrs, Children).
-spec hr(list(lustre@attribute:attribute(FHN))) -> element(FHN).
hr(Attrs) ->
'..@ffi.mjs':node(<<"hr"/utf8>>, Attrs, []).
-spec li(list(lustre@attribute:attribute(FHR)), list(element(FHR))) -> element(FHR).
li(Attrs, Children) ->
'..@ffi.mjs':node(<<"li"/utf8>>, Attrs, Children).
-spec menu(list(lustre@attribute:attribute(FHX)), list(element(FHX))) -> element(FHX).
menu(Attrs, Children) ->
'..@ffi.mjs':node(<<"menu"/utf8>>, Attrs, Children).
-spec ol(list(lustre@attribute:attribute(FID)), list(element(FID))) -> element(FID).
ol(Attrs, Children) ->
'..@ffi.mjs':node(<<"ol"/utf8>>, Attrs, Children).
-spec p(list(lustre@attribute:attribute(FIJ)), list(element(FIJ))) -> element(FIJ).
p(Attrs, Children) ->
'..@ffi.mjs':node(<<"p"/utf8>>, Attrs, Children).
-spec pre(list(lustre@attribute:attribute(FIP)), list(element(FIP))) -> element(FIP).
pre(Attrs, Children) ->
'..@ffi.mjs':node(<<"pre"/utf8>>, Attrs, Children).
-spec ul(list(lustre@attribute:attribute(FIV)), list(element(FIV))) -> element(FIV).
ul(Attrs, Children) ->
'..@ffi.mjs':node(<<"ul"/utf8>>, Attrs, Children).
-spec a(list(lustre@attribute:attribute(FJB)), list(element(FJB))) -> element(FJB).
a(Attrs, Children) ->
'..@ffi.mjs':node(<<"a"/utf8>>, Attrs, Children).
-spec abbr(list(lustre@attribute:attribute(FJH)), list(element(FJH))) -> element(FJH).
abbr(Attrs, Children) ->
'..@ffi.mjs':node(<<"abbr"/utf8>>, Attrs, Children).
-spec b(list(lustre@attribute:attribute(FJN)), list(element(FJN))) -> element(FJN).
b(Attrs, Children) ->
'..@ffi.mjs':node(<<"b"/utf8>>, Attrs, Children).
-spec bdi(list(lustre@attribute:attribute(FJT)), list(element(FJT))) -> element(FJT).
bdi(Attrs, Children) ->
'..@ffi.mjs':node(<<"bdi"/utf8>>, Attrs, Children).
-spec bdo(list(lustre@attribute:attribute(FJZ)), list(element(FJZ))) -> element(FJZ).
bdo(Attrs, Children) ->
'..@ffi.mjs':node(<<"bdo"/utf8>>, Attrs, Children).
-spec br(list(lustre@attribute:attribute(FKF))) -> element(FKF).
br(Attrs) ->
'..@ffi.mjs':node(<<"br"/utf8>>, Attrs, []).
-spec cite(list(lustre@attribute:attribute(FKJ)), list(element(FKJ))) -> element(FKJ).
cite(Attrs, Children) ->
'..@ffi.mjs':node(<<"cite"/utf8>>, Attrs, Children).
-spec code(list(lustre@attribute:attribute(FKP)), list(element(FKP))) -> element(FKP).
code(Attrs, Children) ->
'..@ffi.mjs':node(<<"code"/utf8>>, Attrs, Children).
-spec dfn(list(lustre@attribute:attribute(FKV)), list(element(FKV))) -> element(FKV).
dfn(Attrs, Children) ->
'..@ffi.mjs':node(<<"dfn"/utf8>>, Attrs, Children).
-spec em(list(lustre@attribute:attribute(FLB)), list(element(FLB))) -> element(FLB).
em(Attrs, Children) ->
'..@ffi.mjs':node(<<"em"/utf8>>, Attrs, Children).
-spec i(list(lustre@attribute:attribute(FLH)), list(element(FLH))) -> element(FLH).
i(Attrs, Children) ->
'..@ffi.mjs':node(<<"i"/utf8>>, Attrs, Children).
-spec kbd(list(lustre@attribute:attribute(FLN)), list(element(FLN))) -> element(FLN).
kbd(Attrs, Children) ->
'..@ffi.mjs':node(<<"kbd"/utf8>>, Attrs, Children).
-spec mark(list(lustre@attribute:attribute(FLT)), list(element(FLT))) -> element(FLT).
mark(Attrs, Children) ->
'..@ffi.mjs':node(<<"mark"/utf8>>, Attrs, Children).
-spec rp(list(lustre@attribute:attribute(FLZ)), list(element(FLZ))) -> element(FLZ).
rp(Attrs, Children) ->
'..@ffi.mjs':node(<<"rp"/utf8>>, Attrs, Children).
-spec rt(list(lustre@attribute:attribute(FMF)), list(element(FMF))) -> element(FMF).
rt(Attrs, Children) ->
'..@ffi.mjs':node(<<"rt"/utf8>>, Attrs, Children).
-spec ruby(list(lustre@attribute:attribute(FML)), list(element(FML))) -> element(FML).
ruby(Attrs, Children) ->
'..@ffi.mjs':node(<<"ruby"/utf8>>, Attrs, Children).
-spec s(list(lustre@attribute:attribute(FMR)), list(element(FMR))) -> element(FMR).
s(Attrs, Children) ->
'..@ffi.mjs':node(<<"s"/utf8>>, Attrs, Children).
-spec samp(list(lustre@attribute:attribute(FMX)), list(element(FMX))) -> element(FMX).
samp(Attrs, Children) ->
'..@ffi.mjs':node(<<"samp"/utf8>>, Attrs, Children).
-spec small(list(lustre@attribute:attribute(FND)), list(element(FND))) -> element(FND).
small(Attrs, Children) ->
'..@ffi.mjs':node(<<"small"/utf8>>, Attrs, Children).
-spec span(list(lustre@attribute:attribute(FNJ)), list(element(FNJ))) -> element(FNJ).
span(Attrs, Children) ->
'..@ffi.mjs':node(<<"span"/utf8>>, Attrs, Children).
-spec strong(list(lustre@attribute:attribute(FNP)), list(element(FNP))) -> element(FNP).
strong(Attrs, Children) ->
'..@ffi.mjs':node(<<"strong"/utf8>>, Attrs, Children).
-spec sub(list(lustre@attribute:attribute(FNV)), list(element(FNV))) -> element(FNV).
sub(Attrs, Children) ->
'..@ffi.mjs':node(<<"sub"/utf8>>, Attrs, Children).
-spec sup(list(lustre@attribute:attribute(FOB)), list(element(FOB))) -> element(FOB).
sup(Attrs, Children) ->
'..@ffi.mjs':node(<<"sup"/utf8>>, Attrs, Children).
-spec time(list(lustre@attribute:attribute(FOH)), list(element(FOH))) -> element(FOH).
time(Attrs, Children) ->
'..@ffi.mjs':node(<<"time"/utf8>>, Attrs, Children).
-spec u(list(lustre@attribute:attribute(FON)), list(element(FON))) -> element(FON).
u(Attrs, Children) ->
'..@ffi.mjs':node(<<"u"/utf8>>, Attrs, Children).
-spec var_(list(lustre@attribute:attribute(FOT)), list(element(FOT))) -> element(FOT).
var_(Attrs, Children) ->
'..@ffi.mjs':node(<<"var"/utf8>>, Attrs, Children).
-spec wbr(list(lustre@attribute:attribute(FOZ))) -> element(FOZ).
wbr(Attrs) ->
'..@ffi.mjs':node(<<"wbr"/utf8>>, Attrs, []).
-spec area(list(lustre@attribute:attribute(FPD))) -> element(FPD).
area(Attrs) ->
'..@ffi.mjs':node(<<"area"/utf8>>, Attrs, []).
-spec audio(list(lustre@attribute:attribute(FPH)), list(element(FPH))) -> element(FPH).
audio(Attrs, Children) ->
'..@ffi.mjs':node(<<"audio"/utf8>>, Attrs, Children).
-spec img(list(lustre@attribute:attribute(FPN))) -> element(FPN).
img(Attrs) ->
'..@ffi.mjs':node(<<"img"/utf8>>, Attrs, []).
-spec map_(list(lustre@attribute:attribute(FPR)), list(element(FPR))) -> element(FPR).
map_(Attrs, Children) ->
'..@ffi.mjs':node(<<"map"/utf8>>, Attrs, Children).
-spec track(list(lustre@attribute:attribute(FPX)), list(element(FPX))) -> element(FPX).
track(Attrs, Children) ->
'..@ffi.mjs':node(<<"track"/utf8>>, Attrs, Children).
-spec video(list(lustre@attribute:attribute(FQD)), list(element(FQD))) -> element(FQD).
video(Attrs, Children) ->
'..@ffi.mjs':node(<<"video"/utf8>>, Attrs, Children).
-spec embed(list(lustre@attribute:attribute(FQJ))) -> element(FQJ).
embed(Attrs) ->
'..@ffi.mjs':node(<<"embed"/utf8>>, Attrs, []).
-spec iframe(list(lustre@attribute:attribute(FQN))) -> element(FQN).
iframe(Attrs) ->
'..@ffi.mjs':node(<<"iframe"/utf8>>, Attrs, []).
-spec object(list(lustre@attribute:attribute(FQR)), list(element(FQR))) -> element(FQR).
object(Attrs, Children) ->
'..@ffi.mjs':node(<<"object"/utf8>>, Attrs, Children).
-spec param(list(lustre@attribute:attribute(FQX)), list(element(FQX))) -> element(FQX).
param(Attrs, Children) ->
'..@ffi.mjs':node(<<"param"/utf8>>, Attrs, Children).
-spec picture(list(lustre@attribute:attribute(FRD)), list(element(FRD))) -> element(FRD).
picture(Attrs, Children) ->
'..@ffi.mjs':node(<<"picture"/utf8>>, Attrs, Children).
-spec portal(list(lustre@attribute:attribute(FRJ))) -> element(FRJ).
portal(Attrs) ->
'..@ffi.mjs':node(<<"portal"/utf8>>, Attrs, []).
-spec source(list(lustre@attribute:attribute(FRN))) -> element(FRN).
source(Attrs) ->
'..@ffi.mjs':node(<<"source"/utf8>>, Attrs, []).
-spec svg(list(lustre@attribute:attribute(FRR)), list(element(FRR))) -> element(FRR).
svg(Attrs, Children) ->
'..@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(FRX)), list(element(FRX))) -> element(FRX).
mathml(Attrs, Children) ->
'..@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(FSD)), list(element(FSD))) -> element(FSD).
canvas(Attrs, Children) ->
'..@ffi.mjs':node(<<"canvas"/utf8>>, Attrs, Children).
-spec noscript(list(lustre@attribute:attribute(FSJ)), list(element(FSJ))) -> element(FSJ).
noscript(Attrs, Children) ->
'..@ffi.mjs':node(<<"noscript"/utf8>>, Attrs, Children).
-spec del(list(lustre@attribute:attribute(FSP)), list(element(FSP))) -> element(FSP).
del(Attrs, Children) ->
'..@ffi.mjs':node(<<"del"/utf8>>, Attrs, Children).
-spec ins(list(lustre@attribute:attribute(FSV)), list(element(FSV))) -> element(FSV).
ins(Attrs, Children) ->
'..@ffi.mjs':node(<<"ins"/utf8>>, Attrs, Children).
-spec caption(list(lustre@attribute:attribute(FTB)), list(element(FTB))) -> element(FTB).
caption(Attrs, Children) ->
'..@ffi.mjs':node(<<"caption"/utf8>>, Attrs, Children).
-spec col(list(lustre@attribute:attribute(FTH)), list(element(FTH))) -> element(FTH).
col(Attrs, Children) ->
'..@ffi.mjs':node(<<"col"/utf8>>, Attrs, Children).
-spec colgroup(list(lustre@attribute:attribute(FTN)), list(element(FTN))) -> element(FTN).
colgroup(Attrs, Children) ->
'..@ffi.mjs':node(<<"colgroup"/utf8>>, Attrs, Children).
-spec table(list(lustre@attribute:attribute(FTT)), list(element(FTT))) -> element(FTT).
table(Attrs, Children) ->
'..@ffi.mjs':node(<<"table"/utf8>>, Attrs, Children).
-spec tbody(list(lustre@attribute:attribute(FTZ)), list(element(FTZ))) -> element(FTZ).
tbody(Attrs, Children) ->
'..@ffi.mjs':node(<<"tbody"/utf8>>, Attrs, Children).
-spec td(list(lustre@attribute:attribute(FUF)), list(element(FUF))) -> element(FUF).
td(Attrs, Children) ->
'..@ffi.mjs':node(<<"td"/utf8>>, Attrs, Children).
-spec tfoot(list(lustre@attribute:attribute(FUL)), list(element(FUL))) -> element(FUL).
tfoot(Attrs, Children) ->
'..@ffi.mjs':node(<<"tfoot"/utf8>>, Attrs, Children).
-spec th(list(lustre@attribute:attribute(FUR)), list(element(FUR))) -> element(FUR).
th(Attrs, Children) ->
'..@ffi.mjs':node(<<"th"/utf8>>, Attrs, Children).
-spec thead(list(lustre@attribute:attribute(FUX)), list(element(FUX))) -> element(FUX).
thead(Attrs, Children) ->
'..@ffi.mjs':node(<<"thead"/utf8>>, Attrs, Children).
-spec tr(list(lustre@attribute:attribute(FVD)), list(element(FVD))) -> element(FVD).
tr(Attrs, Children) ->
'..@ffi.mjs':node(<<"tr"/utf8>>, Attrs, Children).
-spec button(list(lustre@attribute:attribute(FVJ)), list(element(FVJ))) -> element(FVJ).
button(Attrs, Children) ->
'..@ffi.mjs':node(<<"button"/utf8>>, Attrs, Children).
-spec datalist(list(lustre@attribute:attribute(FVP)), list(element(FVP))) -> element(FVP).
datalist(Attrs, Children) ->
'..@ffi.mjs':node(<<"datalist"/utf8>>, Attrs, Children).
-spec fieldset(list(lustre@attribute:attribute(FVV)), list(element(FVV))) -> element(FVV).
fieldset(Attrs, Children) ->
'..@ffi.mjs':node(<<"fieldset"/utf8>>, Attrs, Children).
-spec form(list(lustre@attribute:attribute(FWB)), list(element(FWB))) -> element(FWB).
form(Attrs, Children) ->
'..@ffi.mjs':node(<<"form"/utf8>>, Attrs, Children).
-spec input(list(lustre@attribute:attribute(FWH))) -> element(FWH).
input(Attrs) ->
'..@ffi.mjs':node(<<"input"/utf8>>, Attrs, []).
-spec label(list(lustre@attribute:attribute(FWL)), list(element(FWL))) -> element(FWL).
label(Attrs, Children) ->
'..@ffi.mjs':node(<<"label"/utf8>>, Attrs, Children).
-spec legend(list(lustre@attribute:attribute(FWR)), list(element(FWR))) -> element(FWR).
legend(Attrs, Children) ->
'..@ffi.mjs':node(<<"legend"/utf8>>, Attrs, Children).
-spec meter(list(lustre@attribute:attribute(FWX)), list(element(FWX))) -> element(FWX).
meter(Attrs, Children) ->
'..@ffi.mjs':node(<<"meter"/utf8>>, Attrs, Children).
-spec optgroup(list(lustre@attribute:attribute(FXD)), list(element(FXD))) -> element(FXD).
optgroup(Attrs, Children) ->
'..@ffi.mjs':node(<<"optgroup"/utf8>>, Attrs, Children).
-spec option(list(lustre@attribute:attribute(FXJ)), list(element(FXJ))) -> element(FXJ).
option(Attrs, Children) ->
'..@ffi.mjs':node(<<"option"/utf8>>, Attrs, Children).
-spec output(list(lustre@attribute:attribute(FXP)), list(element(FXP))) -> element(FXP).
output(Attrs, Children) ->
'..@ffi.mjs':node(<<"output"/utf8>>, Attrs, Children).
-spec progress(list(lustre@attribute:attribute(FXV)), list(element(FXV))) -> element(FXV).
progress(Attrs, Children) ->
'..@ffi.mjs':node(<<"progress"/utf8>>, Attrs, Children).
-spec select(list(lustre@attribute:attribute(FYB)), list(element(FYB))) -> element(FYB).
select(Attrs, Children) ->
'..@ffi.mjs':node(<<"select"/utf8>>, Attrs, Children).
-spec textarea(list(lustre@attribute:attribute(FYH))) -> element(FYH).
textarea(Attrs) ->
'..@ffi.mjs':node(<<"textarea"/utf8>>, Attrs, []).
-spec details(list(lustre@attribute:attribute(FYL)), list(element(FYL))) -> element(FYL).
details(Attrs, Children) ->
'..@ffi.mjs':node(<<"details"/utf8>>, Attrs, Children).
-spec dialog(list(lustre@attribute:attribute(FYR)), list(element(FYR))) -> element(FYR).
dialog(Attrs, Children) ->
'..@ffi.mjs':node(<<"dialog"/utf8>>, Attrs, Children).
-spec summary(list(lustre@attribute:attribute(FYX)), list(element(FYX))) -> element(FYX).
summary(Attrs, Children) ->
'..@ffi.mjs':node(<<"summary"/utf8>>, Attrs, Children).
-spec slot(list(lustre@attribute:attribute(FZD)), list(element(FZD))) -> element(FZD).
slot(Attrs, Children) ->
'..@ffi.mjs':node(<<"slot"/utf8>>, Attrs, Children).
-spec template(list(lustre@attribute:attribute(FZJ)), list(element(FZJ))) -> element(FZJ).
template(Attrs, Children) ->
'..@ffi.mjs':node(<<"template"/utf8>>, Attrs, Children).