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(GGJ)), list(element(GGJ))) -> element(GGJ).
node(Field@0, Field@1, Field@2) ->
'../lustre.ffi.mjs':node(Field@0, Field@1, Field@2).
-spec html(list(lustre@attribute:attribute(FID)), element(FID), element(FID)) -> element(FID).
html(Attrs, Head, Body) ->
'..@lustre.ffi.mjs':node(<<"html"/utf8>>, Attrs, [Head, Body]).
-spec base(list(lustre@attribute:attribute(FIJ))) -> element(FIJ).
base(Attrs) ->
'..@lustre.ffi.mjs':node(<<"base"/utf8>>, Attrs, []).
-spec head(list(lustre@attribute:attribute(FIN)), list(element(FIN))) -> element(FIN).
head(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"head"/utf8>>, Attrs, Children).
-spec meta(list(lustre@attribute:attribute(FIT))) -> element(FIT).
meta(Attrs) ->
'..@lustre.ffi.mjs':node(<<"meta"/utf8>>, Attrs, []).
-spec body(list(lustre@attribute:attribute(FJF)), list(element(FJF))) -> element(FJF).
body(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"body"/utf8>>, Attrs, Children).
-spec address(list(lustre@attribute:attribute(FJL)), list(element(FJL))) -> element(FJL).
address(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"address"/utf8>>, Attrs, Children).
-spec article(list(lustre@attribute:attribute(FJR)), list(element(FJR))) -> element(FJR).
article(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"article"/utf8>>, Attrs, Children).
-spec aside(list(lustre@attribute:attribute(FJX)), list(element(FJX))) -> element(FJX).
aside(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"aside"/utf8>>, Attrs, Children).
-spec footer(list(lustre@attribute:attribute(FKD)), list(element(FKD))) -> element(FKD).
footer(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"footer"/utf8>>, Attrs, Children).
-spec header(list(lustre@attribute:attribute(FKJ)), list(element(FKJ))) -> element(FKJ).
header(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"header"/utf8>>, Attrs, Children).
-spec h1(list(lustre@attribute:attribute(FKP)), list(element(FKP))) -> element(FKP).
h1(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h1"/utf8>>, Attrs, Children).
-spec h2(list(lustre@attribute:attribute(FKV)), list(element(FKV))) -> element(FKV).
h2(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h2"/utf8>>, Attrs, Children).
-spec h3(list(lustre@attribute:attribute(FLB)), list(element(FLB))) -> element(FLB).
h3(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h3"/utf8>>, Attrs, Children).
-spec h4(list(lustre@attribute:attribute(FLH)), list(element(FLH))) -> element(FLH).
h4(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h4"/utf8>>, Attrs, Children).
-spec h5(list(lustre@attribute:attribute(FLN)), list(element(FLN))) -> element(FLN).
h5(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h5"/utf8>>, Attrs, Children).
-spec h6(list(lustre@attribute:attribute(FLT)), list(element(FLT))) -> element(FLT).
h6(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"h6"/utf8>>, Attrs, Children).
-spec main(list(lustre@attribute:attribute(FLZ)), list(element(FLZ))) -> element(FLZ).
main(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"main"/utf8>>, Attrs, Children).
-spec nav(list(lustre@attribute:attribute(FMF)), list(element(FMF))) -> element(FMF).
nav(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"nav"/utf8>>, Attrs, Children).
-spec section(list(lustre@attribute:attribute(FML)), list(element(FML))) -> element(FML).
section(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"section"/utf8>>, Attrs, Children).
-spec blockquote(list(lustre@attribute:attribute(FMR)), list(element(FMR))) -> element(FMR).
blockquote(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"blockquote"/utf8>>, Attrs, Children).
-spec dd(list(lustre@attribute:attribute(FMX)), list(element(FMX))) -> element(FMX).
dd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dd"/utf8>>, Attrs, Children).
-spec 'div'(list(lustre@attribute:attribute(FND)), list(element(FND))) -> element(FND).
'div'(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"div"/utf8>>, Attrs, Children).
-spec dl(list(lustre@attribute:attribute(FNJ)), list(element(FNJ))) -> element(FNJ).
dl(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dl"/utf8>>, Attrs, Children).
-spec dt(list(lustre@attribute:attribute(FNP)), list(element(FNP))) -> element(FNP).
dt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dt"/utf8>>, Attrs, Children).
-spec figcaption(list(lustre@attribute:attribute(FNV)), list(element(FNV))) -> element(FNV).
figcaption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figcaption"/utf8>>, Attrs, Children).
-spec figure(list(lustre@attribute:attribute(FOB)), list(element(FOB))) -> element(FOB).
figure(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"figure"/utf8>>, Attrs, Children).
-spec hr(list(lustre@attribute:attribute(FOH))) -> element(FOH).
hr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"hr"/utf8>>, Attrs, []).
-spec li(list(lustre@attribute:attribute(FOL)), list(element(FOL))) -> element(FOL).
li(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"li"/utf8>>, Attrs, Children).
-spec menu(list(lustre@attribute:attribute(FOR)), list(element(FOR))) -> element(FOR).
menu(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"menu"/utf8>>, Attrs, Children).
-spec ol(list(lustre@attribute:attribute(FOX)), list(element(FOX))) -> element(FOX).
ol(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ol"/utf8>>, Attrs, Children).
-spec p(list(lustre@attribute:attribute(FPD)), list(element(FPD))) -> element(FPD).
p(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"p"/utf8>>, Attrs, Children).
-spec pre(list(lustre@attribute:attribute(FPJ)), list(element(FPJ))) -> element(FPJ).
pre(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"pre"/utf8>>, Attrs, Children).
-spec ul(list(lustre@attribute:attribute(FPP)), list(element(FPP))) -> element(FPP).
ul(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ul"/utf8>>, Attrs, Children).
-spec a(list(lustre@attribute:attribute(FPV)), list(element(FPV))) -> element(FPV).
a(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"a"/utf8>>, Attrs, Children).
-spec abbr(list(lustre@attribute:attribute(FQB)), list(element(FQB))) -> element(FQB).
abbr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"abbr"/utf8>>, Attrs, Children).
-spec b(list(lustre@attribute:attribute(FQH)), list(element(FQH))) -> element(FQH).
b(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"b"/utf8>>, Attrs, Children).
-spec bdi(list(lustre@attribute:attribute(FQN)), list(element(FQN))) -> element(FQN).
bdi(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdi"/utf8>>, Attrs, Children).
-spec bdo(list(lustre@attribute:attribute(FQT)), list(element(FQT))) -> element(FQT).
bdo(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"bdo"/utf8>>, Attrs, Children).
-spec br(list(lustre@attribute:attribute(FQZ))) -> element(FQZ).
br(Attrs) ->
'..@lustre.ffi.mjs':node(<<"br"/utf8>>, Attrs, []).
-spec cite(list(lustre@attribute:attribute(FRD)), list(element(FRD))) -> element(FRD).
cite(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"cite"/utf8>>, Attrs, Children).
-spec code(list(lustre@attribute:attribute(FRJ)), list(element(FRJ))) -> element(FRJ).
code(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"code"/utf8>>, Attrs, Children).
-spec dfn(list(lustre@attribute:attribute(FRP)), list(element(FRP))) -> element(FRP).
dfn(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dfn"/utf8>>, Attrs, Children).
-spec em(list(lustre@attribute:attribute(FRV)), list(element(FRV))) -> element(FRV).
em(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"em"/utf8>>, Attrs, Children).
-spec i(list(lustre@attribute:attribute(FSB)), list(element(FSB))) -> element(FSB).
i(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"i"/utf8>>, Attrs, Children).
-spec kbd(list(lustre@attribute:attribute(FSH)), list(element(FSH))) -> element(FSH).
kbd(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"kbd"/utf8>>, Attrs, Children).
-spec mark(list(lustre@attribute:attribute(FSN)), list(element(FSN))) -> element(FSN).
mark(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"mark"/utf8>>, Attrs, Children).
-spec rp(list(lustre@attribute:attribute(FST)), list(element(FST))) -> element(FST).
rp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rp"/utf8>>, Attrs, Children).
-spec rt(list(lustre@attribute:attribute(FSZ)), list(element(FSZ))) -> element(FSZ).
rt(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"rt"/utf8>>, Attrs, Children).
-spec ruby(list(lustre@attribute:attribute(FTF)), list(element(FTF))) -> element(FTF).
ruby(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ruby"/utf8>>, Attrs, Children).
-spec s(list(lustre@attribute:attribute(FTL)), list(element(FTL))) -> element(FTL).
s(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"s"/utf8>>, Attrs, Children).
-spec samp(list(lustre@attribute:attribute(FTR)), list(element(FTR))) -> element(FTR).
samp(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"samp"/utf8>>, Attrs, Children).
-spec small(list(lustre@attribute:attribute(FTX)), list(element(FTX))) -> element(FTX).
small(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"small"/utf8>>, Attrs, Children).
-spec span(list(lustre@attribute:attribute(FUD)), list(element(FUD))) -> element(FUD).
span(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"span"/utf8>>, Attrs, Children).
-spec strong(list(lustre@attribute:attribute(FUJ)), list(element(FUJ))) -> element(FUJ).
strong(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"strong"/utf8>>, Attrs, Children).
-spec sub(list(lustre@attribute:attribute(FUP)), list(element(FUP))) -> element(FUP).
sub(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sub"/utf8>>, Attrs, Children).
-spec sup(list(lustre@attribute:attribute(FUV)), list(element(FUV))) -> element(FUV).
sup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"sup"/utf8>>, Attrs, Children).
-spec time(list(lustre@attribute:attribute(FVB)), list(element(FVB))) -> element(FVB).
time(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"time"/utf8>>, Attrs, Children).
-spec u(list(lustre@attribute:attribute(FVH)), list(element(FVH))) -> element(FVH).
u(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"u"/utf8>>, Attrs, Children).
-spec var_(list(lustre@attribute:attribute(FVN)), list(element(FVN))) -> element(FVN).
var_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"var"/utf8>>, Attrs, Children).
-spec wbr(list(lustre@attribute:attribute(FVT))) -> element(FVT).
wbr(Attrs) ->
'..@lustre.ffi.mjs':node(<<"wbr"/utf8>>, Attrs, []).
-spec area(list(lustre@attribute:attribute(FVX))) -> element(FVX).
area(Attrs) ->
'..@lustre.ffi.mjs':node(<<"area"/utf8>>, Attrs, []).
-spec audio(list(lustre@attribute:attribute(FWB)), list(element(FWB))) -> element(FWB).
audio(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"audio"/utf8>>, Attrs, Children).
-spec img(list(lustre@attribute:attribute(FWH))) -> element(FWH).
img(Attrs) ->
'..@lustre.ffi.mjs':node(<<"img"/utf8>>, Attrs, []).
-spec map_(list(lustre@attribute:attribute(FWL)), list(element(FWL))) -> element(FWL).
map_(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"map"/utf8>>, Attrs, Children).
-spec track(list(lustre@attribute:attribute(FWR)), list(element(FWR))) -> element(FWR).
track(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"track"/utf8>>, Attrs, Children).
-spec video(list(lustre@attribute:attribute(FWX)), list(element(FWX))) -> element(FWX).
video(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"video"/utf8>>, Attrs, Children).
-spec embed(list(lustre@attribute:attribute(FXD))) -> element(FXD).
embed(Attrs) ->
'..@lustre.ffi.mjs':node(<<"embed"/utf8>>, Attrs, []).
-spec iframe(list(lustre@attribute:attribute(FXH))) -> element(FXH).
iframe(Attrs) ->
'..@lustre.ffi.mjs':node(<<"iframe"/utf8>>, Attrs, []).
-spec object(list(lustre@attribute:attribute(FXL)), list(element(FXL))) -> element(FXL).
object(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"object"/utf8>>, Attrs, Children).
-spec param(list(lustre@attribute:attribute(FXR)), list(element(FXR))) -> element(FXR).
param(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"param"/utf8>>, Attrs, Children).
-spec picture(list(lustre@attribute:attribute(FXX)), list(element(FXX))) -> element(FXX).
picture(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"picture"/utf8>>, Attrs, Children).
-spec portal(list(lustre@attribute:attribute(FYD))) -> element(FYD).
portal(Attrs) ->
'..@lustre.ffi.mjs':node(<<"portal"/utf8>>, Attrs, []).
-spec source(list(lustre@attribute:attribute(FYH))) -> element(FYH).
source(Attrs) ->
'..@lustre.ffi.mjs':node(<<"source"/utf8>>, Attrs, []).
-spec svg(list(lustre@attribute:attribute(FYL)), list(element(FYL))) -> element(FYL).
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(FYR)), list(element(FYR))) -> element(FYR).
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(FYX)), list(element(FYX))) -> element(FYX).
canvas(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"canvas"/utf8>>, Attrs, Children).
-spec noscript(list(lustre@attribute:attribute(FZD)), list(element(FZD))) -> element(FZD).
noscript(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"noscript"/utf8>>, Attrs, Children).
-spec del(list(lustre@attribute:attribute(FZJ)), list(element(FZJ))) -> element(FZJ).
del(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"del"/utf8>>, Attrs, Children).
-spec ins(list(lustre@attribute:attribute(FZP)), list(element(FZP))) -> element(FZP).
ins(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"ins"/utf8>>, Attrs, Children).
-spec caption(list(lustre@attribute:attribute(FZV)), list(element(FZV))) -> element(FZV).
caption(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"caption"/utf8>>, Attrs, Children).
-spec col(list(lustre@attribute:attribute(GAB)), list(element(GAB))) -> element(GAB).
col(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"col"/utf8>>, Attrs, Children).
-spec colgroup(list(lustre@attribute:attribute(GAH)), list(element(GAH))) -> element(GAH).
colgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"colgroup"/utf8>>, Attrs, Children).
-spec table(list(lustre@attribute:attribute(GAN)), list(element(GAN))) -> element(GAN).
table(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"table"/utf8>>, Attrs, Children).
-spec tbody(list(lustre@attribute:attribute(GAT)), list(element(GAT))) -> element(GAT).
tbody(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tbody"/utf8>>, Attrs, Children).
-spec td(list(lustre@attribute:attribute(GAZ)), list(element(GAZ))) -> element(GAZ).
td(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"td"/utf8>>, Attrs, Children).
-spec tfoot(list(lustre@attribute:attribute(GBF)), list(element(GBF))) -> element(GBF).
tfoot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tfoot"/utf8>>, Attrs, Children).
-spec th(list(lustre@attribute:attribute(GBL)), list(element(GBL))) -> element(GBL).
th(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"th"/utf8>>, Attrs, Children).
-spec thead(list(lustre@attribute:attribute(GBR)), list(element(GBR))) -> element(GBR).
thead(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"thead"/utf8>>, Attrs, Children).
-spec tr(list(lustre@attribute:attribute(GBX)), list(element(GBX))) -> element(GBX).
tr(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"tr"/utf8>>, Attrs, Children).
-spec button(list(lustre@attribute:attribute(GCD)), list(element(GCD))) -> element(GCD).
button(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"button"/utf8>>, Attrs, Children).
-spec datalist(list(lustre@attribute:attribute(GCJ)), list(element(GCJ))) -> element(GCJ).
datalist(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"datalist"/utf8>>, Attrs, Children).
-spec fieldset(list(lustre@attribute:attribute(GCP)), list(element(GCP))) -> element(GCP).
fieldset(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"fieldset"/utf8>>, Attrs, Children).
-spec form(list(lustre@attribute:attribute(GCV)), list(element(GCV))) -> element(GCV).
form(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"form"/utf8>>, Attrs, Children).
-spec input(list(lustre@attribute:attribute(GDB))) -> element(GDB).
input(Attrs) ->
'..@lustre.ffi.mjs':node(<<"input"/utf8>>, Attrs, []).
-spec label(list(lustre@attribute:attribute(GDF)), list(element(GDF))) -> element(GDF).
label(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"label"/utf8>>, Attrs, Children).
-spec legend(list(lustre@attribute:attribute(GDL)), list(element(GDL))) -> element(GDL).
legend(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"legend"/utf8>>, Attrs, Children).
-spec meter(list(lustre@attribute:attribute(GDR)), list(element(GDR))) -> element(GDR).
meter(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"meter"/utf8>>, Attrs, Children).
-spec optgroup(list(lustre@attribute:attribute(GDX)), list(element(GDX))) -> element(GDX).
optgroup(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"optgroup"/utf8>>, Attrs, Children).
-spec option(list(lustre@attribute:attribute(GED)), list(element(GED))) -> element(GED).
option(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"option"/utf8>>, Attrs, Children).
-spec output(list(lustre@attribute:attribute(GEJ)), list(element(GEJ))) -> element(GEJ).
output(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"output"/utf8>>, Attrs, Children).
-spec progress(list(lustre@attribute:attribute(GEP)), list(element(GEP))) -> element(GEP).
progress(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"progress"/utf8>>, Attrs, Children).
-spec select(list(lustre@attribute:attribute(GEV)), list(element(GEV))) -> element(GEV).
select(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"select"/utf8>>, Attrs, Children).
-spec textarea(list(lustre@attribute:attribute(GFB))) -> element(GFB).
textarea(Attrs) ->
'..@lustre.ffi.mjs':node(<<"textarea"/utf8>>, Attrs, []).
-spec details(list(lustre@attribute:attribute(GFF)), list(element(GFF))) -> element(GFF).
details(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"details"/utf8>>, Attrs, Children).
-spec dialog(list(lustre@attribute:attribute(GFL)), list(element(GFL))) -> element(GFL).
dialog(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"dialog"/utf8>>, Attrs, Children).
-spec summary(list(lustre@attribute:attribute(GFR)), list(element(GFR))) -> element(GFR).
summary(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"summary"/utf8>>, Attrs, Children).
-spec slot(list(lustre@attribute:attribute(GFX)), list(element(GFX))) -> element(GFX).
slot(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"slot"/utf8>>, Attrs, Children).
-spec template(list(lustre@attribute:attribute(GGD)), list(element(GGD))) -> element(GGD).
template(Attrs, Children) ->
'..@lustre.ffi.mjs':node(<<"template"/utf8>>, Attrs, Children).
-spec stateful(GGR, fun((GGR, fun((GGR) -> nil)) -> element(GGP))) -> element(GGP).
stateful(Field@0, Field@1) ->
'../lustre.ffi.mjs':stateful(Field@0, Field@1).
-spec fragment(list(element(GGT))) -> element(GGT).
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(FIX)), binary()) -> element(FIX).
style(Attrs, Css) ->
'..@lustre.ffi.mjs':node(
<<"style"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Css)]
).
-spec title(list(lustre@attribute:attribute(FJB)), binary()) -> element(FJB).
title(Attrs, Name) ->
'..@lustre.ffi.mjs':node(
<<"title"/utf8>>,
Attrs,
['..@lustre.ffi.mjs':text(Name)]
).
-spec map(fun(() -> element(GHB)), fun((GHB) -> GGZ)) -> element(GGZ).
map(Field@0, Field@1) ->
'../lustre.ffi.mjs':map(Field@0, Field@1).