Current section

Files

Jump to
sketch_lustre src sketch@lustre@element@html.erl
Raw

src/sketch@lustre@element@html.erl

-module(sketch@lustre@element@html).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/sketch/lustre/element/html.gleam").
-export([html/2, base/1, head/2, link/1, meta/1, text/1, style/2, title/2, a/3, a_/2, abbr/3, abbr_/2, address/3, address_/2, area/2, area_/1, article/3, article_/2, aside/3, aside_/2, audio/3, audio_/2, b/3, b_/2, bdi/3, bdi_/2, bdo/3, bdo_/2, blockquote/3, blockquote_/2, body/3, body_/2, br/2, br_/1, button/3, button_/2, canvas/3, canvas_/2, caption/3, caption_/2, cite/3, cite_/2, code/3, code_/2, col/2, col_/1, colgroup/3, colgroup_/2, data/3, data_/2, datalist/3, datalist_/2, dd/3, dd_/2, del/3, del_/2, details/3, details_/2, dfn/3, dfn_/2, dialog/3, dialog_/2, 'div'/3, div_/2, dl/3, dl_/2, dt/3, dt_/2, em/3, em_/2, embed/2, embed_/1, fieldset/3, fieldset_/2, figcaption/3, figcaption_/2, figure/3, figure_/2, footer/3, footer_/2, form/3, form_/2, h1/3, h1_/2, h2/3, h2_/2, h3/3, h3_/2, h4/3, h4_/2, h5/3, h5_/2, h6/3, h6_/2, header/3, header_/2, hgroup/3, hgroup_/2, hr/2, hr_/1, i/3, i_/2, iframe/3, iframe_/2, img/2, img_/1, input/2, input_/1, ins/3, ins_/2, kbd/3, kbd_/2, label/3, label_/2, legend/3, legend_/2, li/3, li_/2, main/3, main_/2, map/3, map_/2, mark/3, mark_/2, math/3, math_/2, menu/3, menu_/2, meter/3, meter_/2, nav/3, nav_/2, noscript/3, noscript_/2, object/3, object_/2, ol/3, ol_/2, optgroup/3, optgroup_/2, option/3, option_/2, output/3, output_/2, p/3, p_/2, picture/3, picture_/2, portal/3, portal_/2, pre/3, pre_/2, progress/3, progress_/2, q/3, q_/2, rp/3, rp_/2, rt/3, rt_/2, ruby/3, ruby_/2, s/3, s_/2, samp/3, samp_/2, script/3, script_/2, search/3, search_/2, section/3, section_/2, select/3, select_/2, slot/3, slot_/2, small/3, small_/2, source/2, source_/1, span/3, span_/2, strong/3, strong_/2, sub/3, sub_/2, summary/3, summary_/2, sup/3, sup_/2, svg/3, svg_/2, table/3, table_/2, tbody/3, tbody_/2, td/3, td_/2, template/3, template_/2, textarea/3, textarea_/2, tfoot/3, tfoot_/2, th/3, th_/2, thead/3, thead_/2, time/3, time_/2, tr/3, tr_/2, track/2, track_/1, u/3, u_/2, ul/3, ul_/2, var/3, var_/2, video/3, video_/2, wbr/2, wbr_/1]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
?MODULEDOC(
" This module is a drop-in replacement for `lustre/element/html`. Just\n"
" use the new functions, and everything will automagically be styled.\n"
" Every stylable node has two functions: `[node]` and `[node]_`, the former\n"
" applying a style, while the latter does not accept style, in case you don't\n"
" need to style a node.\n"
).
-file("src/sketch/lustre/element/html.gleam", 19).
?DOC(
" The `<html>` HTML element represents the root (top-level element) of an\n"
" HTML document, so it is also referred to as the root element. All other\n"
" elements must be descendants of this element. There can be only one `<html>`\n"
" element in a document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/html)\n"
).
-spec html(
list(lustre@vdom@vattr:attribute(OQW)),
list(lustre@vdom@vnode:element(OQW))
) -> lustre@vdom@vnode:element(OQW).
html(Attributes, Children) ->
sketch@lustre@element:element_(<<"html"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 36).
?DOC(
" The `<base>` HTML element specifies the base URL to use for all relative\n"
" URLs in a document. There can be only one `<base>` element in a document.\n"
"\n"
" A document's used base URL can be accessed by scripts with `Node.baseURI`.\n"
" If the document has no `<base>` elements, then `baseURI` defaults to\n"
" `location.href`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/base)\n"
).
-spec base(list(lustre@vdom@vattr:attribute(ORC))) -> lustre@vdom@vnode:element(ORC).
base(Attributes) ->
sketch@lustre@element:element_(<<"base"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 51).
?DOC(
" The `<head>` HTML element contains machine-readable information (metadata)\n"
" about the document, like its title, scripts, and style sheets. There can be\n"
" only one `<head>` element in an HTML document.\n"
"\n"
" > `<head>` primarily holds information for machine processing, not\n"
" > human-readability. For human-visible information, like top-level headings\n"
" > and listed authors, see the `<header>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/head)\n"
).
-spec head(
list(lustre@vdom@vattr:attribute(ORG)),
list(lustre@vdom@vnode:element(ORG))
) -> lustre@vdom@vnode:element(ORG).
head(Attributes, Children) ->
sketch@lustre@element:element_(<<"head"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 67).
?DOC(
" The `<link>` HTML element specifies relationships between the current\n"
" document and an external resource. This element is most commonly used to\n"
" link to stylesheets, but is also used to establish site icons (both \"favicon\"\n"
" style icons and icons for the home screen and apps on mobile devices) among\n"
" other things.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/link)\n"
).
-spec link(list(lustre@vdom@vattr:attribute(ORM))) -> lustre@vdom@vnode:element(ORM).
link(Attributes) ->
sketch@lustre@element:element_(<<"link"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 90).
?DOC(
" The `<meta>` HTML element represents metadata that cannot be represented\n"
" by other HTML meta-related elements, like `<base>`, `<link>`, `<script>`,\n"
" `<style>` or `<title>`.\n"
"\n"
" The type of metadata provided by the `<meta>` element can be one of the\n"
" following:\n"
" - If the `name` attribute is set, the `<meta>` element provides\n"
" document-level metadata, applying to the whole page.\n"
" - If the `http-equiv` attribute is set, the `<meta>` element is a pragma\n"
" directive, providing information equivalent to what can be given by a\n"
" similarly-named HTTP header.\n"
" - If the `charset` attribute is set, the `<meta>` element is a charset\n"
" declaration, giving the character encoding in which the document is encoded.\n"
" - If the `itemprop` attribute is set, the `<meta>` element provides\n"
" user-defined metadata.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meta)\n"
).
-spec meta(list(lustre@vdom@vattr:attribute(ORQ))) -> lustre@vdom@vnode:element(ORQ).
meta(Attributes) ->
sketch@lustre@element:element_(<<"meta"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 121).
?DOC(
" The `Text` interface represents a text node in a DOM tree.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/API/Text)\n"
).
-spec text(binary()) -> lustre@vdom@vnode:element(any()).
text(Content) ->
fun lustre@element:text/1(Content).
-file("src/sketch/lustre/element/html.gleam", 101).
?DOC(
" The `<style>` HTML element contains style information for a document, or\n"
" part of a document. It contains CSS, which is applied to the contents of\n"
" the document containing the `<style>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/style)\n"
).
-spec style(list(lustre@vdom@vattr:attribute(ORU)), binary()) -> lustre@vdom@vnode:element(ORU).
style(Attributes, Child) ->
sketch@lustre@element:element_(<<"style"/utf8>>, Attributes, [text(Child)]).
-file("src/sketch/lustre/element/html.gleam", 112).
?DOC(
" The `<title>` HTML element defines the document's title that is shown in a\n"
" browser's title bar or a page's tab. It only contains text; tags within\n"
" the element are ignored.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/title)\n"
).
-spec title(list(lustre@vdom@vattr:attribute(ORY)), binary()) -> lustre@vdom@vnode:element(ORY).
title(Attributes, Title) ->
sketch@lustre@element:element_(<<"title"/utf8>>, Attributes, [text(Title)]).
-file("src/sketch/lustre/element/html.gleam", 139).
?DOC(
" The `<a>` HTML element (or anchor element), with [its `href` attribute](https://developer.mozilla.org/docs/Web/HTML/Element/a#href),\n"
" creates a hyperlink to web pages, files, email addresses, locations in the\n"
" same page, or anything else a URL can address.\n"
"\n"
" Content within each `<a>` should indicate the link's destination. If the\n"
" `href` attribute is present, pressing the enter key while focused on the\n"
" `<a>` element will activate it.\n"
"\n"
" You can use [`modem`](https://hexdocs.pm/modem/) to manage internal linking\n"
" in your Lustre application.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/a)\n"
).
-spec a(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OSE)),
list(lustre@vdom@vnode:element(OSE))
) -> lustre@vdom@vnode:element(OSE).
a(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"a"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 161).
?DOC(
" The `<a>` HTML element (or anchor element), with [its `href` attribute](https://developer.mozilla.org/docs/Web/HTML/Element/a#href),\n"
" creates a hyperlink to web pages, files, email addresses, locations in the\n"
" same page, or anything else a URL can address.\n"
"\n"
" Content within each `<a>` should indicate the link's destination. If the\n"
" `href` attribute is present, pressing the enter key while focused on the\n"
" `<a>` element will activate it.\n"
"\n"
" You can use [`modem`](https://hexdocs.pm/modem/) to manage internal linking\n"
" in your Lustre application.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/a)\n"
).
-spec a_(
list(lustre@vdom@vattr:attribute(OSK)),
list(lustre@vdom@vnode:element(OSK))
) -> lustre@vdom@vnode:element(OSK).
a_(Attributes, Children) ->
sketch@lustre@element:element_(<<"a"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 183).
?DOC(
" The `<abbr>` HTML element represents an abbreviation or acronym.\n"
"\n"
" When including an abbreviation or acronym, provide a full expansion of the\n"
" term in plain text on first use, along with the `<abbr>` to mark up the\n"
" abbreviation. This informs the user what the abbreviation or acronym means.\n"
"\n"
" The optional `title` attribute can provide an expansion for the abbreviation\n"
" or acronym when a full expansion is not present. This provides a hint to\n"
" user agents on how to announce/display the content while informing all users\n"
" what the abbreviation means. If present, `title` must contain this full\n"
" description and nothing else.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/abbr)\n"
).
-spec abbr(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OSQ)),
list(lustre@vdom@vnode:element(OSQ))
) -> lustre@vdom@vnode:element(OSQ).
abbr(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"abbr"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 206).
?DOC(
" The `<abbr>` HTML element represents an abbreviation or acronym.\n"
"\n"
" When including an abbreviation or acronym, provide a full expansion of the\n"
" term in plain text on first use, along with the `<abbr>` to mark up the\n"
" abbreviation. This informs the user what the abbreviation or acronym means.\n"
"\n"
" The optional `title` attribute can provide an expansion for the abbreviation\n"
" or acronym when a full expansion is not present. This provides a hint to\n"
" user agents on how to announce/display the content while informing all users\n"
" what the abbreviation means. If present, `title` must contain this full\n"
" description and nothing else.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/abbr)\n"
).
-spec abbr_(
list(lustre@vdom@vattr:attribute(OSW)),
list(lustre@vdom@vnode:element(OSW))
) -> lustre@vdom@vnode:element(OSW).
abbr_(Attributes, Children) ->
sketch@lustre@element:element_(<<"abbr"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 230).
?DOC(
" The `<address>` HTML element indicates that the enclosed HTML provides\n"
" contact information for a person or people, or for an organization.\n"
"\n"
" The contact information provided by an `<address>` element's contents can\n"
" take whatever form is appropriate for the context, and may include any type\n"
" of contact information that is needed, such as a physical address, URL,\n"
" email address, phone number, social media handle, geographic coordinates,\n"
" and so forth. The `<address>` element should include the name of the person,\n"
" people, or organization to which the contact information refers.\n"
"\n"
" `<address>` can be used in a variety of contexts, such as providing a\n"
" business's contact information in the page header, or indicating the author\n"
" of an article by including an `<address>` element within the `<article>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/address)\n"
).
-spec address(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OTC)),
list(lustre@vdom@vnode:element(OTC))
) -> lustre@vdom@vnode:element(OTC).
address(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"address"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 255).
?DOC(
" The `<address>` HTML element indicates that the enclosed HTML provides\n"
" contact information for a person or people, or for an organization.\n"
"\n"
" The contact information provided by an `<address>` element's contents can\n"
" take whatever form is appropriate for the context, and may include any type\n"
" of contact information that is needed, such as a physical address, URL,\n"
" email address, phone number, social media handle, geographic coordinates,\n"
" and so forth. The `<address>` element should include the name of the person,\n"
" people, or organization to which the contact information refers.\n"
"\n"
" `<address>` can be used in a variety of contexts, such as providing a\n"
" business's contact information in the page header, or indicating the author\n"
" of an article by including an `<address>` element within the `<article>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/address)\n"
).
-spec address_(
list(lustre@vdom@vattr:attribute(OTI)),
list(lustre@vdom@vnode:element(OTI))
) -> lustre@vdom@vnode:element(OTI).
address_(Attributes, Children) ->
sketch@lustre@element:element_(<<"address"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 271).
?DOC(
" The `<area>` HTML element defines an area inside an image map that has\n"
" predefined clickable areas. An image map allows geometric areas on an\n"
" image to be associated with hypertext links.\n"
"\n"
" This element is used only within a `<map>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/area)\n"
).
-spec area(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OTO))
) -> lustre@vdom@vnode:element(OTO).
area(Class, Attributes) ->
sketch@lustre@element:element(<<"area"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 284).
?DOC(
" The `<area>` HTML element defines an area inside an image map that has\n"
" predefined clickable areas. An image map allows geometric areas on an\n"
" image to be associated with hypertext links.\n"
"\n"
" This element is used only within a `<map>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/area)\n"
).
-spec area_(list(lustre@vdom@vattr:attribute(OTS))) -> lustre@vdom@vnode:element(OTS).
area_(Attributes) ->
sketch@lustre@element:element_(<<"area"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 303).
?DOC(
" The `<article>` HTML element represents a self-contained composition in a\n"
" document, page, application, or site, which is intended to be independently\n"
" distributable or reusable (e.g., in syndication). Examples include: a forum\n"
" post, a magazine or newspaper article, or a blog entry, a product card, a\n"
" user-submitted comment, an interactive widget or gadget, or any other\n"
" independent item of content.\n"
"\n"
" A given document can have multiple articles in it; for example, on a blog\n"
" that shows the text of each article one after another as the reader scrolls,\n"
" each post would be contained in an `<article>` element, possibly with one\n"
" or more `<section>`s within.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/article)\n"
).
-spec article(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OTW)),
list(lustre@vdom@vnode:element(OTW))
) -> lustre@vdom@vnode:element(OTW).
article(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"article"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 326).
?DOC(
" The `<article>` HTML element represents a self-contained composition in a\n"
" document, page, application, or site, which is intended to be independently\n"
" distributable or reusable (e.g., in syndication). Examples include: a forum\n"
" post, a magazine or newspaper article, or a blog entry, a product card, a\n"
" user-submitted comment, an interactive widget or gadget, or any other\n"
" independent item of content.\n"
"\n"
" A given document can have multiple articles in it; for example, on a blog\n"
" that shows the text of each article one after another as the reader scrolls,\n"
" each post would be contained in an `<article>` element, possibly with one\n"
" or more `<section>`s within.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/article)\n"
).
-spec article_(
list(lustre@vdom@vattr:attribute(OUC)),
list(lustre@vdom@vnode:element(OUC))
) -> lustre@vdom@vnode:element(OUC).
article_(Attributes, Children) ->
sketch@lustre@element:element_(<<"article"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 340).
?DOC(
" The `<aside>` HTML element represents a portion of a document whose content\n"
" is only indirectly related to the document's main content. Asides are f\n"
" requently presented as sidebars or call-out boxes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/aside)\n"
).
-spec aside(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OUI)),
list(lustre@vdom@vnode:element(OUI))
) -> lustre@vdom@vnode:element(OUI).
aside(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"aside"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 355).
?DOC(
" The `<aside>` HTML element represents a portion of a document whose content\n"
" is only indirectly related to the document's main content. Asides are f\n"
" requently presented as sidebars or call-out boxes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/aside)\n"
).
-spec aside_(
list(lustre@vdom@vattr:attribute(OUO)),
list(lustre@vdom@vnode:element(OUO))
) -> lustre@vdom@vnode:element(OUO).
aside_(Attributes, Children) ->
sketch@lustre@element:element_(<<"aside"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 370).
?DOC(
" The `<audio>` HTML element is used to embed sound content in documents. It\n"
" may contain one or more audio sources, represented using the src attribute\n"
" or the `<source>` element: the browser will choose the most suitable one. It\n"
" can also be the destination for streamed media, using a `MediaStream`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/audio)\n"
).
-spec audio(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OUU)),
list(lustre@vdom@vnode:element(OUU))
) -> lustre@vdom@vnode:element(OUU).
audio(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"audio"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 386).
?DOC(
" The `<audio>` HTML element is used to embed sound content in documents. It\n"
" may contain one or more audio sources, represented using the src attribute\n"
" or the `<source>` element: the browser will choose the most suitable one. It\n"
" can also be the destination for streamed media, using a `MediaStream`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/audio)\n"
).
-spec audio_(
list(lustre@vdom@vattr:attribute(OVA)),
list(lustre@vdom@vnode:element(OVA))
) -> lustre@vdom@vnode:element(OVA).
audio_(Attributes, Children) ->
sketch@lustre@element:element_(<<"audio"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 404).
?DOC(
" The `<b>` HTML element is used to draw the reader's attention to the\n"
" element's contents, which are not otherwise granted special importance.\n"
" This was formerly known as the Boldface element, and most browsers still\n"
" draw the text in boldface. However, you should not use `<b>` for styling text\n"
" or granting importance. If you wish to create boldface text, you should\n"
" use the CSS `font-weight` property. If you wish to indicate an element is\n"
" of special importance, you should use the `<strong>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/b)\n"
).
-spec b(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OVG)),
list(lustre@vdom@vnode:element(OVG))
) -> lustre@vdom@vnode:element(OVG).
b(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"b"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 423).
?DOC(
" The `<b>` HTML element is used to draw the reader's attention to the\n"
" element's contents, which are not otherwise granted special importance.\n"
" This was formerly known as the Boldface element, and most browsers still\n"
" draw the text in boldface. However, you should not use `<b>` for styling text\n"
" or granting importance. If you wish to create boldface text, you should\n"
" use the CSS `font-weight` property. If you wish to indicate an element is\n"
" of special importance, you should use the `<strong>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/b)\n"
).
-spec b_(
list(lustre@vdom@vattr:attribute(OVM)),
list(lustre@vdom@vnode:element(OVM))
) -> lustre@vdom@vnode:element(OVM).
b_(Attributes, Children) ->
sketch@lustre@element:element_(<<"b"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 438).
?DOC(
" The `<bdi>` HTML element tells the browser's bidirectional algorithm to\n"
" treat the text it contains in isolation from its surrounding text. It's\n"
" particularly useful when a website dynamically inserts some text and\n"
" doesn't know the directionality of the text being inserted.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdi)\n"
).
-spec bdi(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OVS)),
list(lustre@vdom@vnode:element(OVS))
) -> lustre@vdom@vnode:element(OVS).
bdi(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"bdi"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 454).
?DOC(
" The `<bdi>` HTML element tells the browser's bidirectional algorithm to\n"
" treat the text it contains in isolation from its surrounding text. It's\n"
" particularly useful when a website dynamically inserts some text and\n"
" doesn't know the directionality of the text being inserted.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdi)\n"
).
-spec bdi_(
list(lustre@vdom@vattr:attribute(OVY)),
list(lustre@vdom@vnode:element(OVY))
) -> lustre@vdom@vnode:element(OVY).
bdi_(Attributes, Children) ->
sketch@lustre@element:element_(<<"bdi"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 467).
?DOC(
" The `<bdo>` HTML element overrides the current directionality of text, so\n"
" that the text within is rendered in a different direction.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdo)\n"
).
-spec bdo(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OWE)),
list(lustre@vdom@vnode:element(OWE))
) -> lustre@vdom@vnode:element(OWE).
bdo(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"bdo"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 481).
?DOC(
" The `<bdo>` HTML element overrides the current directionality of text, so\n"
" that the text within is rendered in a different direction.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/bdo)\n"
).
-spec bdo_(
list(lustre@vdom@vattr:attribute(OWK)),
list(lustre@vdom@vnode:element(OWK))
) -> lustre@vdom@vnode:element(OWK).
bdo_(Attributes, Children) ->
sketch@lustre@element:element_(<<"bdo"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 496).
?DOC(
" The `<blockquote>` HTML element indicates that the enclosed text is an\n"
" extended quotation. Usually, this is rendered visually by indentation.\n"
" A URL for the source of the quotation may be given using the cite attribute,\n"
" while a text representation of the source can be given using the `<cite>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote)\n"
).
-spec blockquote(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OWQ)),
list(lustre@vdom@vnode:element(OWQ))
) -> lustre@vdom@vnode:element(OWQ).
blockquote(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"blockquote"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 512).
?DOC(
" The `<blockquote>` HTML element indicates that the enclosed text is an\n"
" extended quotation. Usually, this is rendered visually by indentation.\n"
" A URL for the source of the quotation may be given using the cite attribute,\n"
" while a text representation of the source can be given using the `<cite>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/blockquote)\n"
).
-spec blockquote_(
list(lustre@vdom@vattr:attribute(OWW)),
list(lustre@vdom@vnode:element(OWW))
) -> lustre@vdom@vnode:element(OWW).
blockquote_(Attributes, Children) ->
sketch@lustre@element:element_(<<"blockquote"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 525).
?DOC(
" The `<body>` HTML element represents the content of an HTML document.\n"
" There can be only one `<body>` element in a document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/body)\n"
).
-spec body(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OXC)),
list(lustre@vdom@vnode:element(OXC))
) -> lustre@vdom@vnode:element(OXC).
body(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"body"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 539).
?DOC(
" The `<body>` HTML element represents the content of an HTML document.\n"
" There can be only one `<body>` element in a document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/body)\n"
).
-spec body_(
list(lustre@vdom@vattr:attribute(OXI)),
list(lustre@vdom@vnode:element(OXI))
) -> lustre@vdom@vnode:element(OXI).
body_(Attributes, Children) ->
sketch@lustre@element:element_(<<"body"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 553).
?DOC(
" The `<br>` HTML element produces a line break in text (carriage-return).\n"
" It is useful for writing a poem or an address, where the division of\n"
" lines is significant.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/br)\n"
).
-spec br(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OXO))
) -> lustre@vdom@vnode:element(OXO).
br(Class, Attributes) ->
sketch@lustre@element:element(<<"br"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 564).
?DOC(
" The `<br>` HTML element produces a line break in text (carriage-return).\n"
" It is useful for writing a poem or an address, where the division of\n"
" lines is significant.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/br)\n"
).
-spec br_(list(lustre@vdom@vattr:attribute(OXS))) -> lustre@vdom@vnode:element(OXS).
br_(Attributes) ->
sketch@lustre@element:element_(<<"br"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 579).
?DOC(
" The `<button>` HTML element is an interactive element activated by a user\n"
" with a mouse, keyboard, finger, voice command, or other assistive technology.\n"
" Once activated, it then performs an action, such as submitting a form or\n"
" opening a dialog.\n"
"\n"
" By default, HTML buttons are presented in a style resembling the platform\n"
" the user agent runs on, but you can change buttons' appearance with CSS.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/button)\n"
).
-spec button(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OXW)),
list(lustre@vdom@vnode:element(OXW))
) -> lustre@vdom@vnode:element(OXW).
button(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"button"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 598).
?DOC(
" The `<button>` HTML element is an interactive element activated by a user\n"
" with a mouse, keyboard, finger, voice command, or other assistive technology.\n"
" Once activated, it then performs an action, such as submitting a form or\n"
" opening a dialog.\n"
"\n"
" By default, HTML buttons are presented in a style resembling the platform\n"
" the user agent runs on, but you can change buttons' appearance with CSS.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/button)\n"
).
-spec button_(
list(lustre@vdom@vattr:attribute(OYC)),
list(lustre@vdom@vnode:element(OYC))
) -> lustre@vdom@vnode:element(OYC).
button_(Attributes, Children) ->
sketch@lustre@element:element_(<<"button"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 613).
?DOC(
" Use the HTML `<canvas>` element with either the\n"
" [canvas scripting API](https://developer.mozilla.org/docs/Web/API/Canvas_API) or the\n"
" [WebGL API](https://developer.mozilla.org/docs/Web/API/WebGL_API)\n"
" to draw graphics and animations.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/canvas)\n"
).
-spec canvas(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OYI)),
list(lustre@vdom@vnode:element(OYI))
) -> lustre@vdom@vnode:element(OYI).
canvas(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"canvas"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 629).
?DOC(
" Use the HTML `<canvas>` element with either the\n"
" [canvas scripting API](https://developer.mozilla.org/docs/Web/API/Canvas_API) or the\n"
" [WebGL API](https://developer.mozilla.org/docs/Web/API/WebGL_API)\n"
" to draw graphics and animations.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/canvas)\n"
).
-spec canvas_(
list(lustre@vdom@vattr:attribute(OYO)),
list(lustre@vdom@vnode:element(OYO))
) -> lustre@vdom@vnode:element(OYO).
canvas_(Attributes, Children) ->
sketch@lustre@element:element_(<<"canvas"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 642).
?DOC(
" The `<caption>` HTML element specifies the caption (or title) of a table, p\n"
" roviding the table an [accessible description](https://developer.mozilla.org/docs/Glossary/Accessible_description).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/caption)\n"
).
-spec caption(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OYU)),
list(lustre@vdom@vnode:element(OYU))
) -> lustre@vdom@vnode:element(OYU).
caption(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"caption"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 656).
?DOC(
" The `<caption>` HTML element specifies the caption (or title) of a table, p\n"
" roviding the table an [accessible description](https://developer.mozilla.org/docs/Glossary/Accessible_description).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/caption)\n"
).
-spec caption_(
list(lustre@vdom@vattr:attribute(OZA)),
list(lustre@vdom@vnode:element(OZA))
) -> lustre@vdom@vnode:element(OZA).
caption_(Attributes, Children) ->
sketch@lustre@element:element_(<<"caption"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 670).
?DOC(
" The `<cite>` HTML element is used to mark up the title of a cited creative\n"
" work. The reference may be in an abbreviated form according to\n"
" context-appropriate conventions related to citation metadata.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/cite)\n"
).
-spec cite(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OZG)),
list(lustre@vdom@vnode:element(OZG))
) -> lustre@vdom@vnode:element(OZG).
cite(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"cite"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 685).
?DOC(
" The `<cite>` HTML element is used to mark up the title of a cited creative\n"
" work. The reference may be in an abbreviated form according to\n"
" context-appropriate conventions related to citation metadata.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/cite)\n"
).
-spec cite_(
list(lustre@vdom@vattr:attribute(OZM)),
list(lustre@vdom@vnode:element(OZM))
) -> lustre@vdom@vnode:element(OZM).
cite_(Attributes, Children) ->
sketch@lustre@element:element_(<<"cite"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 699).
?DOC(
" The `<code>` HTML element displays its contents styled in a fashion intended\n"
" to indicate that the text is a short fragment of computer code. By default,\n"
" the content text is displayed using the user agent's default monospace font.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/code)\n"
).
-spec code(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(OZS)),
list(lustre@vdom@vnode:element(OZS))
) -> lustre@vdom@vnode:element(OZS).
code(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"code"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 714).
?DOC(
" The `<code>` HTML element displays its contents styled in a fashion intended\n"
" to indicate that the text is a short fragment of computer code. By default,\n"
" the content text is displayed using the user agent's default monospace font.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/code)\n"
).
-spec code_(
list(lustre@vdom@vattr:attribute(OZY)),
list(lustre@vdom@vnode:element(OZY))
) -> lustre@vdom@vnode:element(OZY).
code_(Attributes, Children) ->
sketch@lustre@element:element_(<<"code"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 729).
?DOC(
" The `<col>` HTML element defines one or more columns in a column group\n"
" represented by its parent `<colgroup>` element. The `<col>` element is\n"
" only valid as a child of a `<colgroup>` element that has no `span`\n"
" attribute defined.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/col)\n"
).
-spec col(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PAE))
) -> lustre@vdom@vnode:element(PAE).
col(Class, Attributes) ->
sketch@lustre@element:element(<<"col"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 741).
?DOC(
" The `<col>` HTML element defines one or more columns in a column group\n"
" represented by its parent `<colgroup>` element. The `<col>` element is\n"
" only valid as a child of a `<colgroup>` element that has no `span`\n"
" attribute defined.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/col)\n"
).
-spec col_(list(lustre@vdom@vattr:attribute(PAI))) -> lustre@vdom@vnode:element(PAI).
col_(Attributes) ->
sketch@lustre@element:element_(<<"col"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 750).
?DOC(
" The `<colgroup>` HTML element defines a group of columns within a table.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup)\n"
).
-spec colgroup(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PAM)),
list(lustre@vdom@vnode:element(PAM))
) -> lustre@vdom@vnode:element(PAM).
colgroup(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"colgroup"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 763).
?DOC(
" The `<colgroup>` HTML element defines a group of columns within a table.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/colgroup)\n"
).
-spec colgroup_(
list(lustre@vdom@vattr:attribute(PAS)),
list(lustre@vdom@vnode:element(PAS))
) -> lustre@vdom@vnode:element(PAS).
colgroup_(Attributes, Children) ->
sketch@lustre@element:element_(<<"colgroup"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 777).
?DOC(
" The `<data>` HTML element links a given piece of content with a\n"
" machine-readable translation. If the content is time- or date-related,\n"
" the `<time>` element must be used.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/data)\n"
).
-spec data(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PAY)),
list(lustre@vdom@vnode:element(PAY))
) -> lustre@vdom@vnode:element(PAY).
data(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"data"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 792).
?DOC(
" The `<data>` HTML element links a given piece of content with a\n"
" machine-readable translation. If the content is time- or date-related,\n"
" the `<time>` element must be used.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/data)\n"
).
-spec data_(
list(lustre@vdom@vattr:attribute(PBE)),
list(lustre@vdom@vnode:element(PBE))
) -> lustre@vdom@vnode:element(PBE).
data_(Attributes, Children) ->
sketch@lustre@element:element_(<<"data"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 806).
?DOC(
" The `<datalist>` HTML element contains a set of `<option>` elements that\n"
" represent the permissible or recommended options available to choose from\n"
" within other controls.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/datalist)\n"
).
-spec datalist(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PBK)),
list(lustre@vdom@vnode:element(PBK))
) -> lustre@vdom@vnode:element(PBK).
datalist(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"datalist"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 821).
?DOC(
" The `<datalist>` HTML element contains a set of `<option>` elements that\n"
" represent the permissible or recommended options available to choose from\n"
" within other controls.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/datalist)\n"
).
-spec datalist_(
list(lustre@vdom@vattr:attribute(PBQ)),
list(lustre@vdom@vnode:element(PBQ))
) -> lustre@vdom@vnode:element(PBQ).
datalist_(Attributes, Children) ->
sketch@lustre@element:element_(<<"datalist"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 834).
?DOC(
" The `<dd>` HTML element provides the description, definition, or value for\n"
" the preceding term (`<dt>`) in a description list (`<dl>`).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dd)\n"
).
-spec dd(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PBW)),
list(lustre@vdom@vnode:element(PBW))
) -> lustre@vdom@vnode:element(PBW).
dd(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"dd"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 848).
?DOC(
" The `<dd>` HTML element provides the description, definition, or value for\n"
" the preceding term (`<dt>`) in a description list (`<dl>`).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dd)\n"
).
-spec dd_(
list(lustre@vdom@vattr:attribute(PCC)),
list(lustre@vdom@vnode:element(PCC))
) -> lustre@vdom@vnode:element(PCC).
dd_(Attributes, Children) ->
sketch@lustre@element:element_(<<"dd"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 866).
?DOC(
" The `<del>` HTML element represents a range of text that has been deleted\n"
" from a document. This can be used when rendering \"track changes\" or source\n"
" code diff information, for example. The `<ins>` element can be used for the\n"
" opposite purpose: to indicate text that has been added to the document.\n"
"\n"
" This element is often (but need not be) rendered by applying a\n"
" strike-through style to the text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/del)\n"
).
-spec del(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PCI)),
list(lustre@vdom@vnode:element(PCI))
) -> lustre@vdom@vnode:element(PCI).
del(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"del"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 885).
?DOC(
" The `<del>` HTML element represents a range of text that has been deleted\n"
" from a document. This can be used when rendering \"track changes\" or source\n"
" code diff information, for example. The `<ins>` element can be used for the\n"
" opposite purpose: to indicate text that has been added to the document.\n"
"\n"
" This element is often (but need not be) rendered by applying a\n"
" strike-through style to the text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/del)\n"
).
-spec del_(
list(lustre@vdom@vattr:attribute(PCO)),
list(lustre@vdom@vnode:element(PCO))
) -> lustre@vdom@vnode:element(PCO).
del_(Attributes, Children) ->
sketch@lustre@element:element_(<<"del"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 905).
?DOC(
" The `<details>` HTML element creates a disclosure widget in which\n"
" information is visible only when the widget is toggled into an \"open\" state.\n"
" A summary or label must be provided using the `<summary>` element.\n"
"\n"
" A disclosure widget is typically presented onscreen using a small triangle\n"
" that rotates (or twists) to indicate open/closed status, with a label next\n"
" to the triangle. The contents of the `<summary>` element are used as the\n"
" label for the disclosure widget. The contents of the `<details>` provide\n"
" the accessible description for the `<summary>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/details)\n"
).
-spec details(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PCU)),
list(lustre@vdom@vnode:element(PCU))
) -> lustre@vdom@vnode:element(PCU).
details(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"details"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 926).
?DOC(
" The `<details>` HTML element creates a disclosure widget in which\n"
" information is visible only when the widget is toggled into an \"open\" state.\n"
" A summary or label must be provided using the `<summary>` element.\n"
"\n"
" A disclosure widget is typically presented onscreen using a small triangle\n"
" that rotates (or twists) to indicate open/closed status, with a label next\n"
" to the triangle. The contents of the `<summary>` element are used as the\n"
" label for the disclosure widget. The contents of the `<details>` provide\n"
" the accessible description for the `<summary>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/details)\n"
).
-spec details_(
list(lustre@vdom@vattr:attribute(PDA)),
list(lustre@vdom@vnode:element(PDA))
) -> lustre@vdom@vnode:element(PDA).
details_(Attributes, Children) ->
sketch@lustre@element:element_(<<"details"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 944).
?DOC(
" The `<dfn>` HTML element indicates a term to be defined. The `<dfn>` element\n"
" should be used in a complete definition statement, where the full definition\n"
" of the term can be one of the following:\n"
" - The ancestor paragraph (a block of text, sometimes marked by a `<p>`\n"
" element)\n"
" - The `<dt>`/`<dd>` pairing\n"
" - The nearest section ancestor of the `<dfn>` element\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dfn)\n"
).
-spec dfn(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PDG)),
list(lustre@vdom@vnode:element(PDG))
) -> lustre@vdom@vnode:element(PDG).
dfn(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"dfn"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 963).
?DOC(
" The `<dfn>` HTML element indicates a term to be defined. The `<dfn>` element\n"
" should be used in a complete definition statement, where the full definition\n"
" of the term can be one of the following:\n"
" - The ancestor paragraph (a block of text, sometimes marked by a `<p>`\n"
" element)\n"
" - The `<dt>`/`<dd>` pairing\n"
" - The nearest section ancestor of the `<dfn>` element\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dfn)\n"
).
-spec dfn_(
list(lustre@vdom@vattr:attribute(PDM)),
list(lustre@vdom@vnode:element(PDM))
) -> lustre@vdom@vnode:element(PDM).
dfn_(Attributes, Children) ->
sketch@lustre@element:element_(<<"dfn"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 989).
?DOC(
" The `<dialog>` HTML element represents a modal or non-modal dialog box or\n"
" other interactive component, such as a dismissible alert, inspector, or\n"
" subwindow.\n"
"\n"
" The HTML `<dialog>` element is used to create both modal and non-modal\n"
" dialog boxes. Modal dialog boxes interrupt interaction with the rest of the\n"
" page being inert, while non-modal dialog boxes allow interaction with the\n"
" rest of the page.\n"
"\n"
" JavaScript should be used to display the `<dialog>` element. Use the\n"
" `.showModal()` method to display a modal dialog and the `.show()` method\n"
" to display a non-modal dialog. The dialog box can be closed using the\n"
" `.close()` method or using the `dialog` method when submitting a `<form>`\n"
" that is nested within the `<dialog>` element. Modal dialogs can also be\n"
" closed by pressing the Esc key.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dialog)\n"
).
-spec dialog(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PDS)),
list(lustre@vdom@vnode:element(PDS))
) -> lustre@vdom@vnode:element(PDS).
dialog(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"dialog"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1016).
?DOC(
" The `<dialog>` HTML element represents a modal or non-modal dialog box or\n"
" other interactive component, such as a dismissible alert, inspector, or\n"
" subwindow.\n"
"\n"
" The HTML `<dialog>` element is used to create both modal and non-modal\n"
" dialog boxes. Modal dialog boxes interrupt interaction with the rest of the\n"
" page being inert, while non-modal dialog boxes allow interaction with the\n"
" rest of the page.\n"
"\n"
" JavaScript should be used to display the `<dialog>` element. Use the\n"
" `.showModal()` method to display a modal dialog and the `.show()` method\n"
" to display a non-modal dialog. The dialog box can be closed using the\n"
" `.close()` method or using the `dialog` method when submitting a `<form>`\n"
" that is nested within the `<dialog>` element. Modal dialogs can also be\n"
" closed by pressing the Esc key.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dialog)\n"
).
-spec dialog_(
list(lustre@vdom@vattr:attribute(PDY)),
list(lustre@vdom@vnode:element(PDY))
) -> lustre@vdom@vnode:element(PDY).
dialog_(Attributes, Children) ->
sketch@lustre@element:element_(<<"dialog"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1037).
?DOC(
" The `<div>` HTML element is the generic container for flow content. It has\n"
" no effect on the content or layout until styled in some way using CSS (e.g.\n"
" styling is directly applied to it, or some kind of layout model like Flexbox\n"
" is applied to its parent element).\n"
"\n"
" As a \"pure\" container, the `<div>` element does not inherently represent\n"
" anything. Instead, it's used to group content so it can be easily styled\n"
" using the `class` or `id` attributes, marking a section of a document as\n"
" being written in a different language (using the `lang` attribute),\n"
" and so on.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/div)\n"
).
-spec 'div'(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PEE)),
list(lustre@vdom@vnode:element(PEE))
) -> lustre@vdom@vnode:element(PEE).
'div'(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"div"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1059).
?DOC(
" The `<div>` HTML element is the generic container for flow content. It has\n"
" no effect on the content or layout until styled in some way using CSS (e.g.\n"
" styling is directly applied to it, or some kind of layout model like Flexbox\n"
" is applied to its parent element).\n"
"\n"
" As a \"pure\" container, the `<div>` element does not inherently represent\n"
" anything. Instead, it's used to group content so it can be easily styled\n"
" using the `class` or `id` attributes, marking a section of a document as\n"
" being written in a different language (using the `lang` attribute),\n"
" and so on.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/div)\n"
).
-spec div_(
list(lustre@vdom@vattr:attribute(PEK)),
list(lustre@vdom@vnode:element(PEK))
) -> lustre@vdom@vnode:element(PEK).
div_(Attributes, Children) ->
sketch@lustre@element:element_(<<"div"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1074).
?DOC(
" The `<dl>` HTML element represents a description list. The element encloses\n"
" a list of groups of terms (specified using the `<dt>` element) and\n"
" descriptions (provided by `<dd>` elements). Common uses for this element are\n"
" to implement a glossary or to display metadata (a list of key-value pairs).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dl)\n"
).
-spec dl(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PEQ)),
list(lustre@vdom@vnode:element(PEQ))
) -> lustre@vdom@vnode:element(PEQ).
dl(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"dl"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1090).
?DOC(
" The `<dl>` HTML element represents a description list. The element encloses\n"
" a list of groups of terms (specified using the `<dt>` element) and\n"
" descriptions (provided by `<dd>` elements). Common uses for this element are\n"
" to implement a glossary or to display metadata (a list of key-value pairs).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dl)\n"
).
-spec dl_(
list(lustre@vdom@vattr:attribute(PEW)),
list(lustre@vdom@vnode:element(PEW))
) -> lustre@vdom@vnode:element(PEW).
dl_(Attributes, Children) ->
sketch@lustre@element:element_(<<"dl"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1108).
?DOC(
" The `<dt>` HTML element specifies a term in a description or definition list,\n"
" and as such must be used inside a `<dl>` element. It is usually followed by\n"
" a `<dd>` element; however, multiple `<dt>` elements in a row indicate several\n"
" terms that are all defined by the immediate next `<dd>` element.\n"
"\n"
" The subsequent `<dd>` (Description Details) element provides the definition\n"
" or other related text associated with the term specified using `<dt>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dt)\n"
).
-spec dt(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PFC)),
list(lustre@vdom@vnode:element(PFC))
) -> lustre@vdom@vnode:element(PFC).
dt(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"dt"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1127).
?DOC(
" The `<dt>` HTML element specifies a term in a description or definition list,\n"
" and as such must be used inside a `<dl>` element. It is usually followed by\n"
" a `<dd>` element; however, multiple `<dt>` elements in a row indicate several\n"
" terms that are all defined by the immediate next `<dd>` element.\n"
"\n"
" The subsequent `<dd>` (Description Details) element provides the definition\n"
" or other related text associated with the term specified using `<dt>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/dt)\n"
).
-spec dt_(
list(lustre@vdom@vattr:attribute(PFI)),
list(lustre@vdom@vnode:element(PFI))
) -> lustre@vdom@vnode:element(PFI).
dt_(Attributes, Children) ->
sketch@lustre@element:element_(<<"dt"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1141).
?DOC(
" The `<em>` HTML element marks text that has stress emphasis. The `<em>`\n"
" element can be nested, with each level of nesting indicating a greater\n"
" degree of emphasis.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/em)\n"
).
-spec em(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PFO)),
list(lustre@vdom@vnode:element(PFO))
) -> lustre@vdom@vnode:element(PFO).
em(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"em"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1156).
?DOC(
" The `<em>` HTML element marks text that has stress emphasis. The `<em>`\n"
" element can be nested, with each level of nesting indicating a greater\n"
" degree of emphasis.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/em)\n"
).
-spec em_(
list(lustre@vdom@vattr:attribute(PFU)),
list(lustre@vdom@vnode:element(PFU))
) -> lustre@vdom@vnode:element(PFU).
em_(Attributes, Children) ->
sketch@lustre@element:element_(<<"em"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1170).
?DOC(
" The `<embed>` HTML element embeds external content at the specified point in\n"
" the document. This content is provided by an external application or other\n"
" source of interactive content such as a browser plug-in.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/embed)\n"
).
-spec embed(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PGA))
) -> lustre@vdom@vnode:element(PGA).
embed(Class, Attributes) ->
sketch@lustre@element:element(<<"embed"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1181).
?DOC(
" The `<embed>` HTML element embeds external content at the specified point in\n"
" the document. This content is provided by an external application or other\n"
" source of interactive content such as a browser plug-in.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/embed)\n"
).
-spec embed_(list(lustre@vdom@vattr:attribute(PGE))) -> lustre@vdom@vnode:element(PGE).
embed_(Attributes) ->
sketch@lustre@element:element_(<<"embed"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1191).
?DOC(
" The `<fieldset>` HTML element is used to group several controls as well as\n"
" labels (`<label>`) within a web form.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/fieldset)\n"
).
-spec fieldset(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PGI)),
list(lustre@vdom@vnode:element(PGI))
) -> lustre@vdom@vnode:element(PGI).
fieldset(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"fieldset"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1205).
?DOC(
" The `<fieldset>` HTML element is used to group several controls as well as\n"
" labels (`<label>`) within a web form.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/fieldset)\n"
).
-spec fieldset_(
list(lustre@vdom@vattr:attribute(PGO)),
list(lustre@vdom@vnode:element(PGO))
) -> lustre@vdom@vnode:element(PGO).
fieldset_(Attributes, Children) ->
sketch@lustre@element:element_(<<"fieldset"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1219).
?DOC(
" The `<figcaption>` HTML element represents a caption or legend describing\n"
" the rest of the contents of its parent `<figure>` element, providing the\n"
" `<figure>` an [accessible description](https://developer.mozilla.org/docs/Glossary/Accessible_description).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption)\n"
).
-spec figcaption(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PGU)),
list(lustre@vdom@vnode:element(PGU))
) -> lustre@vdom@vnode:element(PGU).
figcaption(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"figcaption"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1234).
?DOC(
" The `<figcaption>` HTML element represents a caption or legend describing\n"
" the rest of the contents of its parent `<figure>` element, providing the\n"
" `<figure>` an [accessible description](https://developer.mozilla.org/docs/Glossary/Accessible_description).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figcaption)\n"
).
-spec figcaption_(
list(lustre@vdom@vattr:attribute(PHA)),
list(lustre@vdom@vnode:element(PHA))
) -> lustre@vdom@vnode:element(PHA).
figcaption_(Attributes, Children) ->
sketch@lustre@element:element_(<<"figcaption"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1249).
?DOC(
" The `<figure>` HTML element represents self-contained content, potentially\n"
" with an optional caption, which is specified using the `<figcaption>`\n"
" element. The figure, its caption, and its contents are referenced as a\n"
" single unit.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figure)\n"
).
-spec figure(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PHG)),
list(lustre@vdom@vnode:element(PHG))
) -> lustre@vdom@vnode:element(PHG).
figure(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"figure"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1265).
?DOC(
" The `<figure>` HTML element represents self-contained content, potentially\n"
" with an optional caption, which is specified using the `<figcaption>`\n"
" element. The figure, its caption, and its contents are referenced as a\n"
" single unit.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/figure)\n"
).
-spec figure_(
list(lustre@vdom@vattr:attribute(PHM)),
list(lustre@vdom@vnode:element(PHM))
) -> lustre@vdom@vnode:element(PHM).
figure_(Attributes, Children) ->
sketch@lustre@element:element_(<<"figure"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1281).
?DOC(
" The `<footer>` HTML element represents a footer for its nearest ancestor\n"
" [sectioning content](https://developer.mozilla.org/docs/Web/HTML/Content_categories#sectioning_content)\n"
" or [sectioning root](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements#labeling_section_content)\n"
" element. A `<footer>` typically contains information about the author of\n"
" the section, copyright data or links to related documents.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/footer)\n"
).
-spec footer(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PHS)),
list(lustre@vdom@vnode:element(PHS))
) -> lustre@vdom@vnode:element(PHS).
footer(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"footer"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1298).
?DOC(
" The `<footer>` HTML element represents a footer for its nearest ancestor\n"
" [sectioning content](https://developer.mozilla.org/docs/Web/HTML/Content_categories#sectioning_content)\n"
" or [sectioning root](https://developer.mozilla.org/docs/Web/HTML/Element/Heading_Elements#labeling_section_content)\n"
" element. A `<footer>` typically contains information about the author of\n"
" the section, copyright data or links to related documents.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/footer)\n"
).
-spec footer_(
list(lustre@vdom@vattr:attribute(PHY)),
list(lustre@vdom@vnode:element(PHY))
) -> lustre@vdom@vnode:element(PHY).
footer_(Attributes, Children) ->
sketch@lustre@element:element_(<<"footer"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1315).
?DOC(
" The `<form>` HTML element represents a document section containing\n"
" interactive controls for submitting information.\n"
"\n"
" It is possible to use the `:valid` and `:invalid` CSS pseudo-classes to\n"
" style a `<form>` element based on whether the elements inside the form\n"
" are valid.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/form)\n"
).
-spec form(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PIE)),
list(lustre@vdom@vnode:element(PIE))
) -> lustre@vdom@vnode:element(PIE).
form(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"form"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1333).
?DOC(
" The `<form>` HTML element represents a document section containing\n"
" interactive controls for submitting information.\n"
"\n"
" It is possible to use the `:valid` and `:invalid` CSS pseudo-classes to\n"
" style a `<form>` element based on whether the elements inside the form\n"
" are valid.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/form)\n"
).
-spec form_(
list(lustre@vdom@vattr:attribute(PIK)),
list(lustre@vdom@vnode:element(PIK))
) -> lustre@vdom@vnode:element(PIK).
form_(Attributes, Children) ->
sketch@lustre@element:element_(<<"form"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1348).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h1)\n"
).
-spec h1(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PIQ)),
list(lustre@vdom@vnode:element(PIQ))
) -> lustre@vdom@vnode:element(PIQ).
h1(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h1"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1364).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h1)\n"
).
-spec h1_(
list(lustre@vdom@vattr:attribute(PIW)),
list(lustre@vdom@vnode:element(PIW))
) -> lustre@vdom@vnode:element(PIW).
h1_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h1"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1379).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h2)\n"
).
-spec h2(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PJC)),
list(lustre@vdom@vnode:element(PJC))
) -> lustre@vdom@vnode:element(PJC).
h2(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h2"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1395).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h2)\n"
).
-spec h2_(
list(lustre@vdom@vattr:attribute(PJI)),
list(lustre@vdom@vnode:element(PJI))
) -> lustre@vdom@vnode:element(PJI).
h2_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h2"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1410).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h3)\n"
).
-spec h3(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PJO)),
list(lustre@vdom@vnode:element(PJO))
) -> lustre@vdom@vnode:element(PJO).
h3(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h3"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1426).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h3)\n"
).
-spec h3_(
list(lustre@vdom@vattr:attribute(PJU)),
list(lustre@vdom@vnode:element(PJU))
) -> lustre@vdom@vnode:element(PJU).
h3_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h3"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1441).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h4)\n"
).
-spec h4(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PKA)),
list(lustre@vdom@vnode:element(PKA))
) -> lustre@vdom@vnode:element(PKA).
h4(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h4"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1457).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h4)\n"
).
-spec h4_(
list(lustre@vdom@vattr:attribute(PKG)),
list(lustre@vdom@vnode:element(PKG))
) -> lustre@vdom@vnode:element(PKG).
h4_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h4"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1472).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h5)\n"
).
-spec h5(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PKM)),
list(lustre@vdom@vnode:element(PKM))
) -> lustre@vdom@vnode:element(PKM).
h5(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h5"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1488).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h5)\n"
).
-spec h5_(
list(lustre@vdom@vattr:attribute(PKS)),
list(lustre@vdom@vnode:element(PKS))
) -> lustre@vdom@vnode:element(PKS).
h5_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h5"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1503).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h6)\n"
).
-spec h6(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PKY)),
list(lustre@vdom@vnode:element(PKY))
) -> lustre@vdom@vnode:element(PKY).
h6(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"h6"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1519).
?DOC(
" The `<h1>` to `<h6>` HTML elements represent six levels of section headings.\n"
" `<h1>` is the highest section level and `<h6>` is the lowest. By default,\n"
" all heading elements create a block-level box in the layout, starting on a\n"
" new line and taking up the full width available in their containing block.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/h6)\n"
).
-spec h6_(
list(lustre@vdom@vattr:attribute(PLE)),
list(lustre@vdom@vnode:element(PLE))
) -> lustre@vdom@vnode:element(PLE).
h6_(Attributes, Children) ->
sketch@lustre@element:element_(<<"h6"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1533).
?DOC(
" The `<header>` HTML element represents introductory content, typically a\n"
" group of introductory or navigational aids. It may contain some heading\n"
" elements but also a logo, a search form, an author name, and other elements.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/header)\n"
).
-spec header(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PLK)),
list(lustre@vdom@vnode:element(PLK))
) -> lustre@vdom@vnode:element(PLK).
header(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"header"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1548).
?DOC(
" The `<header>` HTML element represents introductory content, typically a\n"
" group of introductory or navigational aids. It may contain some heading\n"
" elements but also a logo, a search form, an author name, and other elements.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/header)\n"
).
-spec header_(
list(lustre@vdom@vattr:attribute(PLQ)),
list(lustre@vdom@vnode:element(PLQ))
) -> lustre@vdom@vnode:element(PLQ).
header_(Attributes, Children) ->
sketch@lustre@element:element_(<<"header"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1561).
?DOC(
" The `<hgroup>` HTML element represents a heading and related content. It\n"
" groups a single `<h1>`–`<h6>` element with one or more `<p>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup)\n"
).
-spec hgroup(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PLW)),
list(lustre@vdom@vnode:element(PLW))
) -> lustre@vdom@vnode:element(PLW).
hgroup(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"hgroup"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1575).
?DOC(
" The `<hgroup>` HTML element represents a heading and related content. It\n"
" groups a single `<h1>`–`<h6>` element with one or more `<p>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hgroup)\n"
).
-spec hgroup_(
list(lustre@vdom@vattr:attribute(PMC)),
list(lustre@vdom@vnode:element(PMC))
) -> lustre@vdom@vnode:element(PMC).
hgroup_(Attributes, Children) ->
sketch@lustre@element:element_(<<"hgroup"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1589).
?DOC(
" The `<hr>` HTML element represents a thematic break between paragraph-level\n"
" elements: for example, a change of scene in a story, or a shift of topic\n"
" within a section.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hr)\n"
).
-spec hr(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PMI))
) -> lustre@vdom@vnode:element(PMI).
hr(Class, Attributes) ->
sketch@lustre@element:element(<<"hr"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1600).
?DOC(
" The `<hr>` HTML element represents a thematic break between paragraph-level\n"
" elements: for example, a change of scene in a story, or a shift of topic\n"
" within a section.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/hr)\n"
).
-spec hr_(list(lustre@vdom@vattr:attribute(PMM))) -> lustre@vdom@vnode:element(PMM).
hr_(Attributes) ->
sketch@lustre@element:element_(<<"hr"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1613).
?DOC(
" The `<i>` HTML element represents a range of text that is set off from the\n"
" normal text for some reason, such as idiomatic text, technical terms,\n"
" taxonomical designations, among others. Historically, these have been\n"
" presented using italicized type, which is the original source of the `<i>`\n"
" naming of this element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/i)\n"
).
-spec i(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PMQ)),
list(lustre@vdom@vnode:element(PMQ))
) -> lustre@vdom@vnode:element(PMQ).
i(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"i"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1630).
?DOC(
" The `<i>` HTML element represents a range of text that is set off from the\n"
" normal text for some reason, such as idiomatic text, technical terms,\n"
" taxonomical designations, among others. Historically, these have been\n"
" presented using italicized type, which is the original source of the `<i>`\n"
" naming of this element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/i)\n"
).
-spec i_(
list(lustre@vdom@vattr:attribute(PMW)),
list(lustre@vdom@vnode:element(PMW))
) -> lustre@vdom@vnode:element(PMW).
i_(Attributes, Children) ->
sketch@lustre@element:element_(<<"i"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1643).
?DOC(
" The `<iframe>` HTML element represents a nested browsing context, embedding\n"
" another HTML page into the current one.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)\n"
).
-spec iframe(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PNC)),
list(lustre@vdom@vnode:element(PNC))
) -> lustre@vdom@vnode:element(PNC).
iframe(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"iframe"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1657).
?DOC(
" The `<iframe>` HTML element represents a nested browsing context, embedding\n"
" another HTML page into the current one.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/iframe)\n"
).
-spec iframe_(
list(lustre@vdom@vattr:attribute(PNI)),
list(lustre@vdom@vnode:element(PNI))
) -> lustre@vdom@vnode:element(PNI).
iframe_(Attributes, Children) ->
sketch@lustre@element:element_(<<"iframe"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1669).
?DOC(
" The `<img>` HTML element embeds an image into the document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/img)\n"
).
-spec img(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PNO))
) -> lustre@vdom@vnode:element(PNO).
img(Class, Attributes) ->
sketch@lustre@element:element(<<"img"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1678).
?DOC(
" The `<img>` HTML element embeds an image into the document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/img)\n"
).
-spec img_(list(lustre@vdom@vattr:attribute(PNS))) -> lustre@vdom@vnode:element(PNS).
img_(Attributes) ->
sketch@lustre@element:element_(<<"img"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1692).
?DOC(
" The `<input>` HTML element is used to create interactive controls for\n"
" web-based forms in order to accept data from the user; a wide variety of\n"
" types of input data and control widgets are available, depending on the\n"
" device and user agent. The `<input>` element is one of the most powerful and\n"
" complex in all of HTML due to the sheer number of combinations of input\n"
" types and attributes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/input)\n"
).
-spec input(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PNW))
) -> lustre@vdom@vnode:element(PNW).
input(Class, Attributes) ->
sketch@lustre@element:element(<<"input"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1706).
?DOC(
" The `<input>` HTML element is used to create interactive controls for\n"
" web-based forms in order to accept data from the user; a wide variety of\n"
" types of input data and control widgets are available, depending on the\n"
" device and user agent. The `<input>` element is one of the most powerful and\n"
" complex in all of HTML due to the sheer number of combinations of input\n"
" types and attributes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/input)\n"
).
-spec input_(list(lustre@vdom@vattr:attribute(POA))) -> lustre@vdom@vnode:element(POA).
input_(Attributes) ->
sketch@lustre@element:element_(<<"input"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 1717).
?DOC(
" The `<ins>` HTML element represents a range of text that has been added to\n"
" a document. You can use the `<del>` element to similarly represent a range\n"
" of text that has been deleted from the document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ins)\n"
).
-spec ins(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(POE)),
list(lustre@vdom@vnode:element(POE))
) -> lustre@vdom@vnode:element(POE).
ins(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"ins"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1732).
?DOC(
" The `<ins>` HTML element represents a range of text that has been added to\n"
" a document. You can use the `<del>` element to similarly represent a range\n"
" of text that has been deleted from the document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ins)\n"
).
-spec ins_(
list(lustre@vdom@vattr:attribute(POK)),
list(lustre@vdom@vnode:element(POK))
) -> lustre@vdom@vnode:element(POK).
ins_(Attributes, Children) ->
sketch@lustre@element:element_(<<"ins"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1748).
?DOC(
" The `<kbd>` HTML element represents a span of inline text denoting textual\n"
" user input from a keyboard, voice input, or any other text entry device. By\n"
" convention, the user agent defaults to rendering the contents of a `<kbd>`\n"
" element using its default monospace font, although this is not mandated by\n"
" the HTML standard.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/kbd)\n"
).
-spec kbd(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(POQ)),
list(lustre@vdom@vnode:element(POQ))
) -> lustre@vdom@vnode:element(POQ).
kbd(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"kbd"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1765).
?DOC(
" The `<kbd>` HTML element represents a span of inline text denoting textual\n"
" user input from a keyboard, voice input, or any other text entry device. By\n"
" convention, the user agent defaults to rendering the contents of a `<kbd>`\n"
" element using its default monospace font, although this is not mandated by\n"
" the HTML standard.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/kbd)\n"
).
-spec kbd_(
list(lustre@vdom@vattr:attribute(POW)),
list(lustre@vdom@vnode:element(POW))
) -> lustre@vdom@vnode:element(POW).
kbd_(Attributes, Children) ->
sketch@lustre@element:element_(<<"kbd"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1778).
?DOC(
" The `<label>` HTML element represents a caption for an item in a user\n"
" interface.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/label)\n"
).
-spec label(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PPC)),
list(lustre@vdom@vnode:element(PPC))
) -> lustre@vdom@vnode:element(PPC).
label(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"label"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1792).
?DOC(
" The `<label>` HTML element represents a caption for an item in a user\n"
" interface.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/label)\n"
).
-spec label_(
list(lustre@vdom@vattr:attribute(PPI)),
list(lustre@vdom@vnode:element(PPI))
) -> lustre@vdom@vnode:element(PPI).
label_(Attributes, Children) ->
sketch@lustre@element:element_(<<"label"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1805).
?DOC(
" The `<legend>` HTML element represents a caption for the content of\n"
" its parent `<fieldset>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/legend)\n"
).
-spec legend(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PPO)),
list(lustre@vdom@vnode:element(PPO))
) -> lustre@vdom@vnode:element(PPO).
legend(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"legend"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 1819).
?DOC(
" The `<legend>` HTML element represents a caption for the content of\n"
" its parent `<fieldset>`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/legend)\n"
).
-spec legend_(
list(lustre@vdom@vattr:attribute(PPU)),
list(lustre@vdom@vnode:element(PPU))
) -> lustre@vdom@vnode:element(PPU).
legend_(Attributes, Children) ->
sketch@lustre@element:element_(<<"legend"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1835).
?DOC(
" The `<li>` HTML element is used to represent an item in a list. It must be\n"
" contained in a parent element: an ordered list (`<ol>`), an unordered list\n"
" (`<ul>`), or a menu (`<menu>`). In menus and unordered lists, list items are\n"
" usually displayed using bullet points. In ordered lists, they are usually\n"
" displayed with an ascending counter on the left, such as a number or letter.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/li)\n"
).
-spec li(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PQA)),
list(lustre@vdom@vnode:element(PQA))
) -> lustre@vdom@vnode:element(PQA).
li(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"li"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1852).
?DOC(
" The `<li>` HTML element is used to represent an item in a list. It must be\n"
" contained in a parent element: an ordered list (`<ol>`), an unordered list\n"
" (`<ul>`), or a menu (`<menu>`). In menus and unordered lists, list items are\n"
" usually displayed using bullet points. In ordered lists, they are usually\n"
" displayed with an ascending counter on the left, such as a number or letter.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/li)\n"
).
-spec li_(
list(lustre@vdom@vattr:attribute(PQG)),
list(lustre@vdom@vnode:element(PQG))
) -> lustre@vdom@vnode:element(PQG).
li_(Attributes, Children) ->
sketch@lustre@element:element_(<<"li"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1867).
?DOC(
" The `<main>` HTML element represents the dominant content of the `<body>` of\n"
" a document. The main content area consists of content that is directly\n"
" related to or expands upon the central topic of a document, or the central\n"
" functionality of an application.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/main)\n"
).
-spec main(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PQM)),
list(lustre@vdom@vnode:element(PQM))
) -> lustre@vdom@vnode:element(PQM).
main(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"main"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1883).
?DOC(
" The `<main>` HTML element represents the dominant content of the `<body>` of\n"
" a document. The main content area consists of content that is directly\n"
" related to or expands upon the central topic of a document, or the central\n"
" functionality of an application.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/main)\n"
).
-spec main_(
list(lustre@vdom@vattr:attribute(PQS)),
list(lustre@vdom@vnode:element(PQS))
) -> lustre@vdom@vnode:element(PQS).
main_(Attributes, Children) ->
sketch@lustre@element:element_(<<"main"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1896).
?DOC(
" The `<map>` HTML element is used with `<area>` elements to define an\n"
" image map (a clickable link area).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/map)\n"
).
-spec map(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PQY)),
list(lustre@vdom@vnode:element(PQY))
) -> lustre@vdom@vnode:element(PQY).
map(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"map"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1910).
?DOC(
" The `<map>` HTML element is used with `<area>` elements to define an\n"
" image map (a clickable link area).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/map)\n"
).
-spec map_(
list(lustre@vdom@vattr:attribute(PRE)),
list(lustre@vdom@vnode:element(PRE))
) -> lustre@vdom@vnode:element(PRE).
map_(Attributes, Children) ->
sketch@lustre@element:element_(<<"map"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1924).
?DOC(
" The `<mark>` HTML element represents text which is marked or highlighted for\n"
" reference or notation purposes due to the marked passage's relevance in the\n"
" enclosing context.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/mark)\n"
).
-spec mark(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PRK)),
list(lustre@vdom@vnode:element(PRK))
) -> lustre@vdom@vnode:element(PRK).
mark(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"mark"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1939).
?DOC(
" The `<mark>` HTML element represents text which is marked or highlighted for\n"
" reference or notation purposes due to the marked passage's relevance in the\n"
" enclosing context.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/mark)\n"
).
-spec mark_(
list(lustre@vdom@vattr:attribute(PRQ)),
list(lustre@vdom@vnode:element(PRQ))
) -> lustre@vdom@vnode:element(PRQ).
mark_(Attributes, Children) ->
sketch@lustre@element:element_(<<"mark"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1958).
?DOC(
" The `<math>` MathML element is the top-level MathML element, used to write\n"
" a single mathematical formula. It can be placed in HTML content where flow\n"
" content is permitted.\n"
"\n"
" > See the [Authoring MathML page](https://developer.mozilla.org/docs/Web/MathML/Authoring#using_mathml)\n"
" > for tips to properly integrate MathML formulas in your web pages and the\n"
" > [Examples](https://developer.mozilla.org/docs/Web/MathML/Examples)\n"
" > page for more demos.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/MathML/Element/math)\n"
).
-spec math(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PRW)),
list(lustre@vdom@vnode:element(PRW))
) -> lustre@vdom@vnode:element(PRW).
math(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"math"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1978).
?DOC(
" The `<math>` MathML element is the top-level MathML element, used to write\n"
" a single mathematical formula. It can be placed in HTML content where flow\n"
" content is permitted.\n"
"\n"
" > See the [Authoring MathML page](https://developer.mozilla.org/docs/Web/MathML/Authoring#using_mathml)\n"
" > for tips to properly integrate MathML formulas in your web pages and the\n"
" > [Examples](https://developer.mozilla.org/docs/Web/MathML/Examples)\n"
" > page for more demos.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/MathML/Element/math)\n"
).
-spec math_(
list(lustre@vdom@vattr:attribute(PSC)),
list(lustre@vdom@vnode:element(PSC))
) -> lustre@vdom@vnode:element(PSC).
math_(Attributes, Children) ->
sketch@lustre@element:element_(<<"math"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 1993).
?DOC(
" The `<menu>` HTML element is described in the HTML specification as a\n"
" semantic alternative to `<ul>`, but treated by browsers (and exposed through\n"
" the accessibility tree) as no different than `<ul>`. It represents an\n"
" unordered list of items (which are represented by `<li>` elements).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/menu)\n"
).
-spec menu(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PSI)),
list(lustre@vdom@vnode:element(PSI))
) -> lustre@vdom@vnode:element(PSI).
menu(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"menu"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2009).
?DOC(
" The `<menu>` HTML element is described in the HTML specification as a\n"
" semantic alternative to `<ul>`, but treated by browsers (and exposed through\n"
" the accessibility tree) as no different than `<ul>`. It represents an\n"
" unordered list of items (which are represented by `<li>` elements).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/menu)\n"
).
-spec menu_(
list(lustre@vdom@vattr:attribute(PSO)),
list(lustre@vdom@vnode:element(PSO))
) -> lustre@vdom@vnode:element(PSO).
menu_(Attributes, Children) ->
sketch@lustre@element:element_(<<"menu"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2022).
?DOC(
" The `<meter>` HTML element represents either a scalar value within a\n"
" known range or a fractional value.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meter)\n"
).
-spec meter(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PSU)),
list(lustre@vdom@vnode:element(PSU))
) -> lustre@vdom@vnode:element(PSU).
meter(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"meter"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2036).
?DOC(
" The `<meter>` HTML element represents either a scalar value within a\n"
" known range or a fractional value.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/meter)\n"
).
-spec meter_(
list(lustre@vdom@vattr:attribute(PTA)),
list(lustre@vdom@vnode:element(PTA))
) -> lustre@vdom@vnode:element(PTA).
meter_(Attributes, Children) ->
sketch@lustre@element:element_(<<"meter"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2051).
?DOC(
" The `<nav>` HTML element represents a section of a page whose purpose is to\n"
" provide navigation links, either within the current document or to other\n"
" documents. Common examples of navigation sections are menus, tables of\n"
" contents, and indexes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/nav)\n"
).
-spec nav(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PTG)),
list(lustre@vdom@vnode:element(PTG))
) -> lustre@vdom@vnode:element(PTG).
nav(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"nav"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2067).
?DOC(
" The `<nav>` HTML element represents a section of a page whose purpose is to\n"
" provide navigation links, either within the current document or to other\n"
" documents. Common examples of navigation sections are menus, tables of\n"
" contents, and indexes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/nav)\n"
).
-spec nav_(
list(lustre@vdom@vattr:attribute(PTM)),
list(lustre@vdom@vnode:element(PTM))
) -> lustre@vdom@vnode:element(PTM).
nav_(Attributes, Children) ->
sketch@lustre@element:element_(<<"nav"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2081).
?DOC(
" The `<noscript>` HTML element defines a section of HTML to be inserted if a\n"
" script type on the page is unsupported or if scripting is currently turned\n"
" off in the browser.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noscript)\n"
).
-spec noscript(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PTS)),
list(lustre@vdom@vnode:element(PTS))
) -> lustre@vdom@vnode:element(PTS).
noscript(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"noscript"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2096).
?DOC(
" The `<noscript>` HTML element defines a section of HTML to be inserted if a\n"
" script type on the page is unsupported or if scripting is currently turned\n"
" off in the browser.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/noscript)\n"
).
-spec noscript_(
list(lustre@vdom@vattr:attribute(PTY)),
list(lustre@vdom@vnode:element(PTY))
) -> lustre@vdom@vnode:element(PTY).
noscript_(Attributes, Children) ->
sketch@lustre@element:element_(<<"noscript"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2110).
?DOC(
" The `<object>` HTML element represents an external resource, which can be\n"
" treated as an image, a nested browsing context, or a resource to be handled\n"
" by a plugin.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/object)\n"
).
-spec object(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PUE)),
list(lustre@vdom@vnode:element(PUE))
) -> lustre@vdom@vnode:element(PUE).
object(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"object"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2125).
?DOC(
" The `<object>` HTML element represents an external resource, which can be\n"
" treated as an image, a nested browsing context, or a resource to be handled\n"
" by a plugin.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/object)\n"
).
-spec object_(
list(lustre@vdom@vattr:attribute(PUK)),
list(lustre@vdom@vnode:element(PUK))
) -> lustre@vdom@vnode:element(PUK).
object_(Attributes, Children) ->
sketch@lustre@element:element_(<<"object"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2138).
?DOC(
" The `<ol>` HTML element represents an ordered list of items — typically\n"
" rendered as a numbered list.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ol)\n"
).
-spec ol(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PUQ)),
list(lustre@vdom@vnode:element(PUQ))
) -> lustre@vdom@vnode:element(PUQ).
ol(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"ol"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2152).
?DOC(
" The `<ol>` HTML element represents an ordered list of items — typically\n"
" rendered as a numbered list.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ol)\n"
).
-spec ol_(
list(lustre@vdom@vattr:attribute(PUW)),
list(lustre@vdom@vnode:element(PUW))
) -> lustre@vdom@vnode:element(PUW).
ol_(Attributes, Children) ->
sketch@lustre@element:element_(<<"ol"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2165).
?DOC(
" The `<optgroup>` HTML element creates a grouping of options within a\n"
" `<select>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/optgroup)\n"
).
-spec optgroup(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PVC)),
list(lustre@vdom@vnode:element(PVC))
) -> lustre@vdom@vnode:element(PVC).
optgroup(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"optgroup"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2179).
?DOC(
" The `<optgroup>` HTML element creates a grouping of options within a\n"
" `<select>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/optgroup)\n"
).
-spec optgroup_(
list(lustre@vdom@vattr:attribute(PVI)),
list(lustre@vdom@vnode:element(PVI))
) -> lustre@vdom@vnode:element(PVI).
optgroup_(Attributes, Children) ->
sketch@lustre@element:element_(<<"optgroup"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2194).
?DOC(
" The `<option>` HTML element is used to define an item contained in a\n"
" `<select>`, an `<optgroup>`, or a `<datalist>` element. As such, `<option>`\n"
" can represent menu items in popups and other lists of items in an HTML\n"
" document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/option)\n"
).
-spec option(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PVO)),
list(lustre@vdom@vnode:element(PVO))
) -> lustre@vdom@vnode:element(PVO).
option(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"option"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2210).
?DOC(
" The `<option>` HTML element is used to define an item contained in a\n"
" `<select>`, an `<optgroup>`, or a `<datalist>` element. As such, `<option>`\n"
" can represent menu items in popups and other lists of items in an HTML\n"
" document.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/option)\n"
).
-spec option_(
list(lustre@vdom@vattr:attribute(PVU)),
list(lustre@vdom@vnode:element(PVU))
) -> lustre@vdom@vnode:element(PVU).
option_(Attributes, Children) ->
sketch@lustre@element:element_(<<"option"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2223).
?DOC(
" The `<output>` HTML element is a container element into which a site or\n"
" app can inject the results of a calculation or the outcome of a user action.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/output)\n"
).
-spec output(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PWA)),
list(lustre@vdom@vnode:element(PWA))
) -> lustre@vdom@vnode:element(PWA).
output(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"output"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2237).
?DOC(
" The `<output>` HTML element is a container element into which a site or\n"
" app can inject the results of a calculation or the outcome of a user action.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/output)\n"
).
-spec output_(
list(lustre@vdom@vattr:attribute(PWG)),
list(lustre@vdom@vnode:element(PWG))
) -> lustre@vdom@vnode:element(PWG).
output_(Attributes, Children) ->
sketch@lustre@element:element_(<<"output"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2257).
?DOC(
" The `<p>` HTML element represents a paragraph. Paragraphs are usually\n"
" represented in visual media as blocks of text separated from adjacent\n"
" blocks by blank lines and/or first-line indentation, but HTML paragraphs\n"
" can be any structural grouping of related content, such as images or form\n"
" fields.\n"
"\n"
" Paragraphs are block-level elements, and notably will automatically close\n"
" if another block-level element is parsed before the closing `</p>` tag.\n"
" See \"Tag omission\" below.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/p)\n"
).
-spec p(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PWM)),
list(lustre@vdom@vnode:element(PWM))
) -> lustre@vdom@vnode:element(PWM).
p(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"p"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2278).
?DOC(
" The `<p>` HTML element represents a paragraph. Paragraphs are usually\n"
" represented in visual media as blocks of text separated from adjacent\n"
" blocks by blank lines and/or first-line indentation, but HTML paragraphs\n"
" can be any structural grouping of related content, such as images or form\n"
" fields.\n"
"\n"
" Paragraphs are block-level elements, and notably will automatically close\n"
" if another block-level element is parsed before the closing `</p>` tag.\n"
" See \"Tag omission\" below.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/p)\n"
).
-spec p_(
list(lustre@vdom@vattr:attribute(PWS)),
list(lustre@vdom@vnode:element(PWS))
) -> lustre@vdom@vnode:element(PWS).
p_(Attributes, Children) ->
sketch@lustre@element:element_(<<"p"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2298).
?DOC(
" The `<picture>` HTML element contains zero or more `<source>` elements and\n"
" one `<img>` element to offer alternative versions of an image for different\n"
" display/device scenarios.\n"
"\n"
" The browser will consider each child `<source>` element and choose the best\n"
" match among them. If no matches are found—or the browser doesn't support\n"
" the `<picture>` element—the URL of the `<img>` element's `src` attribute is\n"
" selected. The selected image is then presented in the space occupied by\n"
" the `<img>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/picture)\n"
).
-spec picture(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PWY)),
list(lustre@vdom@vnode:element(PWY))
) -> lustre@vdom@vnode:element(PWY).
picture(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"picture"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2319).
?DOC(
" The `<picture>` HTML element contains zero or more `<source>` elements and\n"
" one `<img>` element to offer alternative versions of an image for different\n"
" display/device scenarios.\n"
"\n"
" The browser will consider each child `<source>` element and choose the best\n"
" match among them. If no matches are found—or the browser doesn't support\n"
" the `<picture>` element—the URL of the `<img>` element's `src` attribute is\n"
" selected. The selected image is then presented in the space occupied by\n"
" the `<img>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/picture)\n"
).
-spec picture_(
list(lustre@vdom@vattr:attribute(PXE)),
list(lustre@vdom@vnode:element(PXE))
) -> lustre@vdom@vnode:element(PXE).
picture_(Attributes, Children) ->
sketch@lustre@element:element_(<<"picture"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2340).
?DOC(
" The `<portal>` HTML element enables the embedding of another HTML page into\n"
" the current one for the purposes of allowing smoother navigation into new pages.\n"
"\n"
" A `<portal>` is similar to an `<iframe>`. An `<iframe>` allows a separate\n"
" browsing context to be embedded. However, the embedded content of a\n"
" `<portal>` is more limited than that of an `<iframe>`. It cannot be\n"
" interacted with, and therefore is not suitable for embedding widgets into a\n"
" document. Instead, the <portal> acts as a preview of the content of another\n"
" page. It can be navigated into therefore allowing for seamless transition\n"
" to the embedded content.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/portal)\n"
).
-spec portal(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PXK)),
list(lustre@vdom@vnode:element(PXK))
) -> lustre@vdom@vnode:element(PXK).
portal(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"portal"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2362).
?DOC(
" The `<portal>` HTML element enables the embedding of another HTML page into\n"
" the current one for the purposes of allowing smoother navigation into new pages.\n"
"\n"
" A `<portal>` is similar to an `<iframe>`. An `<iframe>` allows a separate\n"
" browsing context to be embedded. However, the embedded content of a\n"
" `<portal>` is more limited than that of an `<iframe>`. It cannot be\n"
" interacted with, and therefore is not suitable for embedding widgets into a\n"
" document. Instead, the <portal> acts as a preview of the content of another\n"
" page. It can be navigated into therefore allowing for seamless transition\n"
" to the embedded content.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/portal)\n"
).
-spec portal_(
list(lustre@vdom@vattr:attribute(PXQ)),
list(lustre@vdom@vnode:element(PXQ))
) -> lustre@vdom@vnode:element(PXQ).
portal_(Attributes, Children) ->
sketch@lustre@element:element_(<<"portal"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2380).
?DOC(
" The `<pre>` HTML element represents preformatted text which is to be\n"
" presented exactly as written in the HTML file. The text is typically\n"
" rendered using a non-proportional, or monospaced, font. Whitespace inside\n"
" this element is displayed as written.\n"
"\n"
" By default, `<pre>` is a block-level element, i.e. its default `display`\n"
" value is `block`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/pre)\n"
).
-spec pre(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PXW)),
list(lustre@vdom@vnode:element(PXW))
) -> lustre@vdom@vnode:element(PXW).
pre(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"pre"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2399).
?DOC(
" The `<pre>` HTML element represents preformatted text which is to be\n"
" presented exactly as written in the HTML file. The text is typically\n"
" rendered using a non-proportional, or monospaced, font. Whitespace inside\n"
" this element is displayed as written.\n"
"\n"
" By default, `<pre>` is a block-level element, i.e. its default `display`\n"
" value is `block`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/pre)\n"
).
-spec pre_(
list(lustre@vdom@vattr:attribute(PYC)),
list(lustre@vdom@vnode:element(PYC))
) -> lustre@vdom@vnode:element(PYC).
pre_(Attributes, Children) ->
sketch@lustre@element:element_(<<"pre"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2412).
?DOC(
" The `<progress>` HTML element displays an indicator showing the completion\n"
" progress of a task, typically displayed as a progress bar.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/progress)\n"
).
-spec progress(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PYI)),
list(lustre@vdom@vnode:element(PYI))
) -> lustre@vdom@vnode:element(PYI).
progress(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"progress"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2426).
?DOC(
" The `<progress>` HTML element displays an indicator showing the completion\n"
" progress of a task, typically displayed as a progress bar.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/progress)\n"
).
-spec progress_(
list(lustre@vdom@vattr:attribute(PYO)),
list(lustre@vdom@vnode:element(PYO))
) -> lustre@vdom@vnode:element(PYO).
progress_(Attributes, Children) ->
sketch@lustre@element:element_(<<"progress"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2441).
?DOC(
" The `<q>` HTML element indicates that the enclosed text is a short inline\n"
" quotation. Most modern browsers implement this by surrounding the text in\n"
" quotation marks. This element is intended for short quotations that don't\n"
" require paragraph breaks; for long quotations use the `<blockquote>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/q)\n"
).
-spec q(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PYU)),
list(lustre@vdom@vnode:element(PYU))
) -> lustre@vdom@vnode:element(PYU).
q(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"q"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2457).
?DOC(
" The `<q>` HTML element indicates that the enclosed text is a short inline\n"
" quotation. Most modern browsers implement this by surrounding the text in\n"
" quotation marks. This element is intended for short quotations that don't\n"
" require paragraph breaks; for long quotations use the `<blockquote>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/q)\n"
).
-spec q_(
list(lustre@vdom@vattr:attribute(PZA)),
list(lustre@vdom@vnode:element(PZA))
) -> lustre@vdom@vnode:element(PZA).
q_(Attributes, Children) ->
sketch@lustre@element:element_(<<"q"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2472).
?DOC(
" The `<rp>` HTML element is used to provide fall-back parentheses for\n"
" browsers that do not support display of ruby annotations using the `<ruby>`\n"
" element. One `<rp>` element should enclose each of the opening and closing\n"
" parentheses that wrap the `<rt>` element that contains the annotation's text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rp)\n"
).
-spec rp(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PZG)),
list(lustre@vdom@vnode:element(PZG))
) -> lustre@vdom@vnode:element(PZG).
rp(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"rp"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2488).
?DOC(
" The `<rp>` HTML element is used to provide fall-back parentheses for\n"
" browsers that do not support display of ruby annotations using the `<ruby>`\n"
" element. One `<rp>` element should enclose each of the opening and closing\n"
" parentheses that wrap the `<rt>` element that contains the annotation's text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rp)\n"
).
-spec rp_(
list(lustre@vdom@vattr:attribute(PZM)),
list(lustre@vdom@vnode:element(PZM))
) -> lustre@vdom@vnode:element(PZM).
rp_(Attributes, Children) ->
sketch@lustre@element:element_(<<"rp"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2503).
?DOC(
" The `<rt>` HTML element specifies the ruby text component of a ruby\n"
" annotation, which is used to provide pronunciation, translation, or\n"
" transliteration information for East Asian typography. The `<rt>` element\n"
" must always be contained within a `<ruby>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rt)\n"
).
-spec rt(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(PZS)),
list(lustre@vdom@vnode:element(PZS))
) -> lustre@vdom@vnode:element(PZS).
rt(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"rt"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2519).
?DOC(
" The `<rt>` HTML element specifies the ruby text component of a ruby\n"
" annotation, which is used to provide pronunciation, translation, or\n"
" transliteration information for East Asian typography. The `<rt>` element\n"
" must always be contained within a `<ruby>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/rt)\n"
).
-spec rt_(
list(lustre@vdom@vattr:attribute(PZY)),
list(lustre@vdom@vnode:element(PZY))
) -> lustre@vdom@vnode:element(PZY).
rt_(Attributes, Children) ->
sketch@lustre@element:element_(<<"rt"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2539).
?DOC(
" The `<ruby>` HTML element represents small annotations that are rendered\n"
" above, below, or next to base text, usually used for showing the\n"
" pronunciation of East Asian characters. It can also be used for annotating\n"
" other kinds of text, but this usage is less common.\n"
"\n"
" The term ruby originated as a\n"
" [unit of measurement used by typesetters](https://en.wikipedia.org/wiki/Agate_(typography)),\n"
" representing the smallest size that text can be printed on newsprint while\n"
" remaining legible.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ruby)\n"
).
-spec ruby(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QAE)),
list(lustre@vdom@vnode:element(QAE))
) -> lustre@vdom@vnode:element(QAE).
ruby(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"ruby"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2560).
?DOC(
" The `<ruby>` HTML element represents small annotations that are rendered\n"
" above, below, or next to base text, usually used for showing the\n"
" pronunciation of East Asian characters. It can also be used for annotating\n"
" other kinds of text, but this usage is less common.\n"
"\n"
" The term ruby originated as a\n"
" [unit of measurement used by typesetters](https://en.wikipedia.org/wiki/Agate_(typography)),\n"
" representing the smallest size that text can be printed on newsprint while\n"
" remaining legible.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ruby)\n"
).
-spec ruby_(
list(lustre@vdom@vattr:attribute(QAK)),
list(lustre@vdom@vnode:element(QAK))
) -> lustre@vdom@vnode:element(QAK).
ruby_(Attributes, Children) ->
sketch@lustre@element:element_(<<"ruby"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2576).
?DOC(
" The `<s>` HTML element renders text with a strikethrough, or a line through\n"
" it. Use the `<s>` element to represent things that are no longer relevant or\n"
" no longer accurate. However, `<s>` is not appropriate when indicating\n"
" document edits; for that, use the `<del>` and `<ins>` elements, as\n"
" appropriate.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/s)\n"
).
-spec s(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QAQ)),
list(lustre@vdom@vnode:element(QAQ))
) -> lustre@vdom@vnode:element(QAQ).
s(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"s"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2593).
?DOC(
" The `<s>` HTML element renders text with a strikethrough, or a line through\n"
" it. Use the `<s>` element to represent things that are no longer relevant or\n"
" no longer accurate. However, `<s>` is not appropriate when indicating\n"
" document edits; for that, use the `<del>` and `<ins>` elements, as\n"
" appropriate.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/s)\n"
).
-spec s_(
list(lustre@vdom@vattr:attribute(QAW)),
list(lustre@vdom@vnode:element(QAW))
) -> lustre@vdom@vnode:element(QAW).
s_(Attributes, Children) ->
sketch@lustre@element:element_(<<"s"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2608).
?DOC(
" The `<samp>` HTML element is used to enclose inline text which represents\n"
" sample (or quoted) output from a computer program. Its contents are\n"
" typically rendered using the browser's default monospaced font (such as\n"
" Courier or Lucida Console).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/samp)\n"
).
-spec samp(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QBC)),
list(lustre@vdom@vnode:element(QBC))
) -> lustre@vdom@vnode:element(QBC).
samp(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"samp"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2624).
?DOC(
" The `<samp>` HTML element is used to enclose inline text which represents\n"
" sample (or quoted) output from a computer program. Its contents are\n"
" typically rendered using the browser's default monospaced font (such as\n"
" Courier or Lucida Console).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/samp)\n"
).
-spec samp_(
list(lustre@vdom@vattr:attribute(QBI)),
list(lustre@vdom@vnode:element(QBI))
) -> lustre@vdom@vnode:element(QBI).
samp_(Attributes, Children) ->
sketch@lustre@element:element_(<<"samp"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2639).
?DOC(
" The `<script>` HTML element is used to embed executable code or data; this\n"
" is typically used to embed or refer to JavaScript code. The `<script>`\n"
" element can also be used with other languages, such as WebGL's GLSL shader\n"
" programming language and JSON.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/script)\n"
).
-spec script(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QBO)),
list(lustre@vdom@vnode:element(QBO))
) -> lustre@vdom@vnode:element(QBO).
script(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"script"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2655).
?DOC(
" The `<script>` HTML element is used to embed executable code or data; this\n"
" is typically used to embed or refer to JavaScript code. The `<script>`\n"
" element can also be used with other languages, such as WebGL's GLSL shader\n"
" programming language and JSON.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/script)\n"
).
-spec script_(
list(lustre@vdom@vattr:attribute(QBU)),
list(lustre@vdom@vnode:element(QBU))
) -> lustre@vdom@vnode:element(QBU).
script_(Attributes, Children) ->
sketch@lustre@element:element_(<<"script"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2673).
?DOC(
" The `<search>` HTML element is a container representing the parts of the\n"
" document or application with form controls or other content related to\n"
" performing a search or filtering operation. The <search> element\n"
" semantically identifies the purpose of the element's contents as having\n"
" search or filtering capabilities. The search or filtering functionality can\n"
" be for the website or application, the current web page or document, or the\n"
" entire Internet or subsection thereof.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/search)\n"
).
-spec search(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QCA)),
list(lustre@vdom@vnode:element(QCA))
) -> lustre@vdom@vnode:element(QCA).
search(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"search"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2692).
?DOC(
" The `<search>` HTML element is a container representing the parts of the\n"
" document or application with form controls or other content related to\n"
" performing a search or filtering operation. The <search> element\n"
" semantically identifies the purpose of the element's contents as having\n"
" search or filtering capabilities. The search or filtering functionality can\n"
" be for the website or application, the current web page or document, or the\n"
" entire Internet or subsection thereof.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/search)\n"
).
-spec search_(
list(lustre@vdom@vattr:attribute(QCG)),
list(lustre@vdom@vnode:element(QCG))
) -> lustre@vdom@vnode:element(QCG).
search_(Attributes, Children) ->
sketch@lustre@element:element_(<<"search"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2706).
?DOC(
" The `<section>` HTML element represents a generic standalone section of a\n"
" document, which doesn't have a more specific semantic element to represent\n"
" it. Sections should always have a heading, with very few exceptions.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/section)\n"
).
-spec section(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QCM)),
list(lustre@vdom@vnode:element(QCM))
) -> lustre@vdom@vnode:element(QCM).
section(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"section"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2721).
?DOC(
" The `<section>` HTML element represents a generic standalone section of a\n"
" document, which doesn't have a more specific semantic element to represent\n"
" it. Sections should always have a heading, with very few exceptions.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/section)\n"
).
-spec section_(
list(lustre@vdom@vattr:attribute(QCS)),
list(lustre@vdom@vnode:element(QCS))
) -> lustre@vdom@vnode:element(QCS).
section_(Attributes, Children) ->
sketch@lustre@element:element_(<<"section"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2733).
?DOC(
" The `<select>` HTML element represents a control that provides a menu of options.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/select)\n"
).
-spec select(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QCY)),
list(lustre@vdom@vnode:element(QCY))
) -> lustre@vdom@vnode:element(QCY).
select(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"select"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2746).
?DOC(
" The `<select>` HTML element represents a control that provides a menu of options.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/select)\n"
).
-spec select_(
list(lustre@vdom@vattr:attribute(QDE)),
list(lustre@vdom@vnode:element(QDE))
) -> lustre@vdom@vnode:element(QDE).
select_(Attributes, Children) ->
sketch@lustre@element:element_(<<"select"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2760).
?DOC(
" The `<slot>` HTML element—part of the Web Components technology suite—is a\n"
" placeholder inside a web component that you can fill with your own markup,\n"
" which lets you create separate DOM trees and present them together.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/slot)\n"
).
-spec slot(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QDK)),
list(lustre@vdom@vnode:element(QDK))
) -> lustre@vdom@vnode:element(QDK).
slot(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"slot"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2775).
?DOC(
" The `<slot>` HTML element—part of the Web Components technology suite—is a\n"
" placeholder inside a web component that you can fill with your own markup,\n"
" which lets you create separate DOM trees and present them together.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/slot)\n"
).
-spec slot_(
list(lustre@vdom@vattr:attribute(QDQ)),
list(lustre@vdom@vnode:element(QDQ))
) -> lustre@vdom@vnode:element(QDQ).
slot_(Attributes, Children) ->
sketch@lustre@element:element_(<<"slot"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2790).
?DOC(
" The `<small>` HTML element represents side-comments and small print, like\n"
" `copyright and legal text, independent of its styled presentation. By\n"
" default, it renders text within it one font-size smaller, such as from\n"
" `small` to `x-small`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/small)\n"
).
-spec small(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QDW)),
list(lustre@vdom@vnode:element(QDW))
) -> lustre@vdom@vnode:element(QDW).
small(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"small"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2806).
?DOC(
" The `<small>` HTML element represents side-comments and small print, like\n"
" `copyright and legal text, independent of its styled presentation. By\n"
" default, it renders text within it one font-size smaller, such as from\n"
" `small` to `x-small`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/small)\n"
).
-spec small_(
list(lustre@vdom@vattr:attribute(QEC)),
list(lustre@vdom@vnode:element(QEC))
) -> lustre@vdom@vnode:element(QEC).
small_(Attributes, Children) ->
sketch@lustre@element:element_(<<"small"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2824).
?DOC(
" The `<source>` HTML element specifies one or more media resources for the\n"
" `<picture>,` `<audio>,` and `<video>` elements. It is a\n"
" [void element](https://developer.mozilla.org/docs/Glossary/Void_element),\n"
" which means that it has no content and does not require a closing tag. This\n"
" element is commonly used to offer the same media content in multiple file\n"
" formats in order to provide compatibility with a broad range of browsers\n"
" given their differing support for image file formats and media file formats.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/source)\n"
).
-spec source(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QEI))
) -> lustre@vdom@vnode:element(QEI).
source(Class, Attributes) ->
sketch@lustre@element:element(<<"source"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 2839).
?DOC(
" The `<source>` HTML element specifies one or more media resources for the\n"
" `<picture>,` `<audio>,` and `<video>` elements. It is a\n"
" [void element](https://developer.mozilla.org/docs/Glossary/Void_element),\n"
" which means that it has no content and does not require a closing tag. This\n"
" element is commonly used to offer the same media content in multiple file\n"
" formats in order to provide compatibility with a broad range of browsers\n"
" given their differing support for image file formats and media file formats.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/source)\n"
).
-spec source_(list(lustre@vdom@vattr:attribute(QEM))) -> lustre@vdom@vnode:element(QEM).
source_(Attributes) ->
sketch@lustre@element:element_(<<"source"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 2854).
?DOC(
" The `<span>` HTML element is a generic inline container for phrasing content,\n"
" which does not inherently represent anything. It can be used to group\n"
" elements for styling purposes (using the class or id attributes), or because\n"
" they share attribute values, such as lang. It should be used only when no\n"
" other semantic element is appropriate. `<span>` is very much like a `<div>`\n"
" element, but `<div>` is a block-level element whereas a `<span>` is an\n"
" inline-level element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/span)\n"
).
-spec span(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QEQ)),
list(lustre@vdom@vnode:element(QEQ))
) -> lustre@vdom@vnode:element(QEQ).
span(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"span"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2873).
?DOC(
" The `<span>` HTML element is a generic inline container for phrasing content,\n"
" which does not inherently represent anything. It can be used to group\n"
" elements for styling purposes (using the class or id attributes), or because\n"
" they share attribute values, such as lang. It should be used only when no\n"
" other semantic element is appropriate. `<span>` is very much like a `<div>`\n"
" element, but `<div>` is a block-level element whereas a `<span>` is an\n"
" inline-level element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/span)\n"
).
-spec span_(
list(lustre@vdom@vattr:attribute(QEW)),
list(lustre@vdom@vnode:element(QEW))
) -> lustre@vdom@vnode:element(QEW).
span_(Attributes, Children) ->
sketch@lustre@element:element_(<<"span"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2887).
?DOC(
" The `<strong>` HTML element indicates that its contents have strong\n"
" importance, seriousness, or urgency. Browsers typically render the\n"
" contents in bold type.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/strong)\n"
).
-spec strong(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QFC)),
list(lustre@vdom@vnode:element(QFC))
) -> lustre@vdom@vnode:element(QFC).
strong(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"strong"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2902).
?DOC(
" The `<strong>` HTML element indicates that its contents have strong\n"
" importance, seriousness, or urgency. Browsers typically render the\n"
" contents in bold type.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/strong)\n"
).
-spec strong_(
list(lustre@vdom@vattr:attribute(QFI)),
list(lustre@vdom@vnode:element(QFI))
) -> lustre@vdom@vnode:element(QFI).
strong_(Attributes, Children) ->
sketch@lustre@element:element_(<<"strong"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2916).
?DOC(
" The `<sub>` HTML element specifies inline text which should be displayed as\n"
" subscript for solely typographical reasons. Subscripts are typically\n"
" rendered with a lowered baseline using smaller text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sub)\n"
).
-spec sub(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QFO)),
list(lustre@vdom@vnode:element(QFO))
) -> lustre@vdom@vnode:element(QFO).
sub(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"sub"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2931).
?DOC(
" The `<sub>` HTML element specifies inline text which should be displayed as\n"
" subscript for solely typographical reasons. Subscripts are typically\n"
" rendered with a lowered baseline using smaller text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sub)\n"
).
-spec sub_(
list(lustre@vdom@vattr:attribute(QFU)),
list(lustre@vdom@vnode:element(QFU))
) -> lustre@vdom@vnode:element(QFU).
sub_(Attributes, Children) ->
sketch@lustre@element:element_(<<"sub"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2945).
?DOC(
" The `<summary>` HTML element specifies a summary, caption, or legend for a\n"
" `<details>` element's disclosure box. Clicking the `<summary>` element\n"
" toggles the state of the parent `<details>` element open and closed.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/summary)\n"
).
-spec summary(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QGA)),
list(lustre@vdom@vnode:element(QGA))
) -> lustre@vdom@vnode:element(QGA).
summary(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"summary"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 2960).
?DOC(
" The `<summary>` HTML element specifies a summary, caption, or legend for a\n"
" `<details>` element's disclosure box. Clicking the `<summary>` element\n"
" toggles the state of the parent `<details>` element open and closed.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/summary)\n"
).
-spec summary_(
list(lustre@vdom@vattr:attribute(QGG)),
list(lustre@vdom@vnode:element(QGG))
) -> lustre@vdom@vnode:element(QGG).
summary_(Attributes, Children) ->
sketch@lustre@element:element_(<<"summary"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2974).
?DOC(
" The `<sup>` HTML element specifies inline text which is to be displayed as\n"
" superscript for solely typographical reasons. Superscripts are usually\n"
" rendered with a raised baseline using smaller text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sup)\n"
).
-spec sup(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QGM)),
list(lustre@vdom@vnode:element(QGM))
) -> lustre@vdom@vnode:element(QGM).
sup(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"sup"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 2989).
?DOC(
" The `<sup>` HTML element specifies inline text which is to be displayed as\n"
" superscript for solely typographical reasons. Superscripts are usually\n"
" rendered with a raised baseline using smaller text.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/sup)\n"
).
-spec sup_(
list(lustre@vdom@vattr:attribute(QGS)),
list(lustre@vdom@vnode:element(QGS))
) -> lustre@vdom@vnode:element(QGS).
sup_(Attributes, Children) ->
sketch@lustre@element:element_(<<"sup"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3008).
?DOC(
" The `<svg>` SVG element is a container that defines a new coordinate system\n"
" and viewport. It is used as the outermost element of SVG documents, but it\n"
" can also be used to embed an SVG fragment inside an SVG or HTML document.\n"
"\n"
" > The `xmlns` attribute is only required on the outermost `svg` element of\n"
" > SVG documents, or inside HTML documents with XML serialization. It is\n"
" > unnecessary for inner `svg` elements or inside HTML documents with\n"
" > HTML serialization.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/svg)\n"
).
-spec svg(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QGY)),
list(lustre@vdom@vnode:element(QGY))
) -> lustre@vdom@vnode:element(QGY).
svg(Class, Attributes, Children) ->
sketch@lustre@element:namespaced(
<<"http://www.w3.org/2000/svg"/utf8>>,
<<"svg"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 3034).
?DOC(
" The `<svg>` SVG element is a container that defines a new coordinate system\n"
" and viewport. It is used as the outermost element of SVG documents, but it\n"
" can also be used to embed an SVG fragment inside an SVG or HTML document.\n"
"\n"
" > The `xmlns` attribute is only required on the outermost `svg` element of\n"
" > SVG documents, or inside HTML documents with XML serialization. It is\n"
" > unnecessary for inner `svg` elements or inside HTML documents with\n"
" > HTML serialization.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/SVG/Element/svg)\n"
).
-spec svg_(
list(lustre@vdom@vattr:attribute(QHE)),
list(lustre@vdom@vnode:element(QHE))
) -> lustre@vdom@vnode:element(QHE).
svg_(Attributes, Children) ->
sketch@lustre@element:namespaced_(
<<"http://www.w3.org/2000/svg"/utf8>>,
<<"svg"/utf8>>,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 3048).
?DOC(
" The `<table>` HTML element represents tabular data—that is, information\n"
" presented in a two-dimensional table comprised of rows and columns of\n"
" cells containing data.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/table)\n"
).
-spec table(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QHK)),
list(lustre@vdom@vnode:element(QHK))
) -> lustre@vdom@vnode:element(QHK).
table(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"table"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3063).
?DOC(
" The `<table>` HTML element represents tabular data—that is, information\n"
" presented in a two-dimensional table comprised of rows and columns of\n"
" cells containing data.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/table)\n"
).
-spec table_(
list(lustre@vdom@vattr:attribute(QHQ)),
list(lustre@vdom@vnode:element(QHQ))
) -> lustre@vdom@vnode:element(QHQ).
table_(Attributes, Children) ->
sketch@lustre@element:element_(<<"table"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3076).
?DOC(
" The `<tbody>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the body of a table's (main) data.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tbody)\n"
).
-spec tbody(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QHW)),
list(lustre@vdom@vnode:element(QHW))
) -> lustre@vdom@vnode:element(QHW).
tbody(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"tbody"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3090).
?DOC(
" The `<tbody>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the body of a table's (main) data.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tbody)\n"
).
-spec tbody_(
list(lustre@vdom@vattr:attribute(QIC)),
list(lustre@vdom@vnode:element(QIC))
) -> lustre@vdom@vnode:element(QIC).
tbody_(Attributes, Children) ->
sketch@lustre@element:element_(<<"tbody"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3103).
?DOC(
" The `<td>` HTML element defines a cell of a table that contains data and\n"
" may be used as a child of the `<tr>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/td)\n"
).
-spec td(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QII)),
list(lustre@vdom@vnode:element(QII))
) -> lustre@vdom@vnode:element(QII).
td(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"td"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3117).
?DOC(
" The `<td>` HTML element defines a cell of a table that contains data and\n"
" may be used as a child of the `<tr>` element.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/td)\n"
).
-spec td_(
list(lustre@vdom@vattr:attribute(QIO)),
list(lustre@vdom@vnode:element(QIO))
) -> lustre@vdom@vnode:element(QIO).
td_(Attributes, Children) ->
sketch@lustre@element:element_(<<"td"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3131).
?DOC(
" The `<template>` HTML element serves as a mechanism for holding HTML\n"
" fragments, which can either be used later via JavaScript or generated\n"
" immediately into shadow DOM.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/template)\n"
).
-spec template(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QIU)),
list(lustre@vdom@vnode:element(QIU))
) -> lustre@vdom@vnode:element(QIU).
template(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"template"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 3146).
?DOC(
" The `<template>` HTML element serves as a mechanism for holding HTML\n"
" fragments, which can either be used later via JavaScript or generated\n"
" immediately into shadow DOM.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/template)\n"
).
-spec template_(
list(lustre@vdom@vattr:attribute(QJA)),
list(lustre@vdom@vnode:element(QJA))
) -> lustre@vdom@vnode:element(QJA).
template_(Attributes, Children) ->
sketch@lustre@element:element_(<<"template"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3160).
?DOC(
" The `<textarea>` HTML element represents a multi-line plain-text editing\n"
" control, useful when you want to allow users to enter a sizeable amount of\n"
" free-form text, for example a comment on a review or feedback form.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/textarea)\n"
).
-spec textarea(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QJG)),
list(lustre@vdom@vnode:element(QJG))
) -> lustre@vdom@vnode:element(QJG).
textarea(Class, Attributes, Children) ->
sketch@lustre@element:element(
<<"textarea"/utf8>>,
Class,
Attributes,
Children
).
-file("src/sketch/lustre/element/html.gleam", 3175).
?DOC(
" The `<textarea>` HTML element represents a multi-line plain-text editing\n"
" control, useful when you want to allow users to enter a sizeable amount of\n"
" free-form text, for example a comment on a review or feedback form.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/textarea)\n"
).
-spec textarea_(
list(lustre@vdom@vattr:attribute(QJM)),
list(lustre@vdom@vnode:element(QJM))
) -> lustre@vdom@vnode:element(QJM).
textarea_(Attributes, Children) ->
sketch@lustre@element:element_(<<"textarea"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3190).
?DOC(
" The `<tfoot>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the foot of a table with\n"
" information about the table's columns. This is usually a summary of the\n"
" columns, e.g., a sum of the given numbers in a column.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tfoot)\n"
).
-spec tfoot(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QJS)),
list(lustre@vdom@vnode:element(QJS))
) -> lustre@vdom@vnode:element(QJS).
tfoot(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"tfoot"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3206).
?DOC(
" The `<tfoot>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the foot of a table with\n"
" information about the table's columns. This is usually a summary of the\n"
" columns, e.g., a sum of the given numbers in a column.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tfoot)\n"
).
-spec tfoot_(
list(lustre@vdom@vattr:attribute(QJY)),
list(lustre@vdom@vnode:element(QJY))
) -> lustre@vdom@vnode:element(QJY).
tfoot_(Attributes, Children) ->
sketch@lustre@element:element_(<<"tfoot"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3220).
?DOC(
" The `<th>` HTML element defines a cell as the header of a group of table\n"
" cells and may be used as a child of the `<tr>` element. The exact nature\n"
" of this group is defined by the `scope` and `headers` attributes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/th)\n"
).
-spec th(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QKE)),
list(lustre@vdom@vnode:element(QKE))
) -> lustre@vdom@vnode:element(QKE).
th(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"th"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3235).
?DOC(
" The `<th>` HTML element defines a cell as the header of a group of table\n"
" cells and may be used as a child of the `<tr>` element. The exact nature\n"
" of this group is defined by the `scope` and `headers` attributes.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/th)\n"
).
-spec th_(
list(lustre@vdom@vattr:attribute(QKK)),
list(lustre@vdom@vnode:element(QKK))
) -> lustre@vdom@vnode:element(QKK).
th_(Attributes, Children) ->
sketch@lustre@element:element_(<<"th"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3250).
?DOC(
" The `<thead>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the head of a table with\n"
" information about the table's columns. This is usually in the form of\n"
" column headers (`<th>` elements).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/thead)\n"
).
-spec thead(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QKQ)),
list(lustre@vdom@vnode:element(QKQ))
) -> lustre@vdom@vnode:element(QKQ).
thead(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"thead"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3266).
?DOC(
" The `<thead>` HTML element encapsulates a set of table rows (`<tr>`\n"
" elements), indicating that they comprise the head of a table with\n"
" information about the table's columns. This is usually in the form of\n"
" column headers (`<th>` elements).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/thead)\n"
).
-spec thead_(
list(lustre@vdom@vattr:attribute(QKW)),
list(lustre@vdom@vnode:element(QKW))
) -> lustre@vdom@vnode:element(QKW).
thead_(Attributes, Children) ->
sketch@lustre@element:element_(<<"thead"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3287).
?DOC(
" The `<time>` HTML element represents a specific period in time. It may\n"
" include the datetime attribute to translate dates into machine-readable\n"
" format, allowing for better search engine results or custom features such\n"
" as reminders.\n"
"\n"
" It may represent one of the following:\n"
" - A time on a 24-hour clock.\n"
" - A precise date in the [Gregorian calendar](https://en.wikipedia.org/wiki/Gregorian_calendar)\n"
" (with optional time and timezone information).\n"
" - [A valid time duration](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-duration-string).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/time)\n"
).
-spec time(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QLC)),
list(lustre@vdom@vnode:element(QLC))
) -> lustre@vdom@vnode:element(QLC).
time(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"time"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3309).
?DOC(
" The `<time>` HTML element represents a specific period in time. It may\n"
" include the datetime attribute to translate dates into machine-readable\n"
" format, allowing for better search engine results or custom features such\n"
" as reminders.\n"
"\n"
" It may represent one of the following:\n"
" - A time on a 24-hour clock.\n"
" - A precise date in the [Gregorian calendar](https://en.wikipedia.org/wiki/Gregorian_calendar)\n"
" (with optional time and timezone information).\n"
" - [A valid time duration](https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#valid-duration-string).\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/time)\n"
).
-spec time_(
list(lustre@vdom@vattr:attribute(QLI)),
list(lustre@vdom@vnode:element(QLI))
) -> lustre@vdom@vnode:element(QLI).
time_(Attributes, Children) ->
sketch@lustre@element:element_(<<"time"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3323).
?DOC(
" The `<tr>` HTML element defines a row of cells in a table. The row's cells\n"
" can then be established using a mix of `<td>` (data cell) and `<th>`\n"
" (header cell) elements.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tr)\n"
).
-spec tr(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QLO)),
list(lustre@vdom@vnode:element(QLO))
) -> lustre@vdom@vnode:element(QLO).
tr(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"tr"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3338).
?DOC(
" The `<tr>` HTML element defines a row of cells in a table. The row's cells\n"
" can then be established using a mix of `<td>` (data cell) and `<th>`\n"
" (header cell) elements.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/tr)\n"
).
-spec tr_(
list(lustre@vdom@vattr:attribute(QLU)),
list(lustre@vdom@vnode:element(QLU))
) -> lustre@vdom@vnode:element(QLU).
tr_(Attributes, Children) ->
sketch@lustre@element:element_(<<"tr"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3363).
?DOC(
" The `<track>` HTML element is used as a child of the media elements,\n"
" `<audio>` and `<video>`. Each track element lets you specify a timed text\n"
" track (or time-based data) that can be displayed in parallel with the media\n"
" element, for example to overlay subtitles or closed captions on top of a\n"
" video or alongside audio tracks.\n"
"\n"
" Multiple tracks can be specified for a media element, containing different\n"
" kinds of timed text data, or timed text data that has been translated for\n"
" different locales. The data that is used will either be the track that has\n"
" been set to be the default, or a kind and translation based on user\n"
" preferences.\n"
"\n"
" The tracks are formatted in [WebVTT format](https://developer.mozilla.org/docs/Web/API/WebVTT_API)\n"
" (`.vtt` files) — Web Video Text Tracks.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/track)\n"
).
-spec track(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QMA))
) -> lustre@vdom@vnode:element(QMA).
track(Class, Attributes) ->
sketch@lustre@element:element(<<"track"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 3385).
?DOC(
" The `<track>` HTML element is used as a child of the media elements,\n"
" `<audio>` and `<video>`. Each track element lets you specify a timed text\n"
" track (or time-based data) that can be displayed in parallel with the media\n"
" element, for example to overlay subtitles or closed captions on top of a\n"
" video or alongside audio tracks.\n"
"\n"
" Multiple tracks can be specified for a media element, containing different\n"
" kinds of timed text data, or timed text data that has been translated for\n"
" different locales. The data that is used will either be the track that has\n"
" been set to be the default, or a kind and translation based on user\n"
" preferences.\n"
"\n"
" The tracks are formatted in [WebVTT format](https://developer.mozilla.org/docs/Web/API/WebVTT_API)\n"
" (`.vtt` files) — Web Video Text Tracks.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/track)\n"
).
-spec track_(list(lustre@vdom@vattr:attribute(QME))) -> lustre@vdom@vnode:element(QME).
track_(Attributes) ->
sketch@lustre@element:element_(<<"track"/utf8>>, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 3402).
?DOC(
" The `<u>` HTML element represents a span of inline text which should be\n"
" rendered in a way that indicates that it has a non-textual annotation. This\n"
" is rendered by default as a single solid underline, but may be altered\n"
" using CSS.\n"
"\n"
" > This element used to be called the \"Underline\" element in older versions\n"
" > of HTML, and is still sometimes misused in this way. To underline text,\n"
" > you should instead apply a style that includes the CSS `text-decoration`\n"
" > property set to `underline`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/u)\n"
).
-spec u(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QMI)),
list(lustre@vdom@vnode:element(QMI))
) -> lustre@vdom@vnode:element(QMI).
u(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"u"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3423).
?DOC(
" The `<u>` HTML element represents a span of inline text which should be\n"
" rendered in a way that indicates that it has a non-textual annotation. This\n"
" is rendered by default as a single solid underline, but may be altered\n"
" using CSS.\n"
"\n"
" > This element used to be called the \"Underline\" element in older versions\n"
" > of HTML, and is still sometimes misused in this way. To underline text,\n"
" > you should instead apply a style that includes the CSS `text-decoration`\n"
" > property set to `underline`.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/u)\n"
).
-spec u_(
list(lustre@vdom@vattr:attribute(QMO)),
list(lustre@vdom@vnode:element(QMO))
) -> lustre@vdom@vnode:element(QMO).
u_(Attributes, Children) ->
sketch@lustre@element:element_(<<"u"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3436).
?DOC(
" The `<ul>` HTML element represents an unordered list of items, typically\n"
" rendered as a bulleted list.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ul)\n"
).
-spec ul(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QMU)),
list(lustre@vdom@vnode:element(QMU))
) -> lustre@vdom@vnode:element(QMU).
ul(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"ul"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3450).
?DOC(
" The `<ul>` HTML element represents an unordered list of items, typically\n"
" rendered as a bulleted list.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/ul)\n"
).
-spec ul_(
list(lustre@vdom@vattr:attribute(QNA)),
list(lustre@vdom@vnode:element(QNA))
) -> lustre@vdom@vnode:element(QNA).
ul_(Attributes, Children) ->
sketch@lustre@element:element_(<<"ul"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3465).
?DOC(
" The `<var>` HTML element represents the name of a variable in a mathematical\n"
" expression or a programming context. It's typically presented using an\n"
" italicized version of the current typeface, although that behavior is\n"
" browser-dependent.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/var)\n"
).
-spec var(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QNG)),
list(lustre@vdom@vnode:element(QNG))
) -> lustre@vdom@vnode:element(QNG).
var(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"var"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3481).
?DOC(
" The `<var>` HTML element represents the name of a variable in a mathematical\n"
" expression or a programming context. It's typically presented using an\n"
" italicized version of the current typeface, although that behavior is\n"
" browser-dependent.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/var)\n"
).
-spec var_(
list(lustre@vdom@vattr:attribute(QNM)),
list(lustre@vdom@vnode:element(QNM))
) -> lustre@vdom@vnode:element(QNM).
var_(Attributes, Children) ->
sketch@lustre@element:element_(<<"var"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3495).
?DOC(
" The `<video>` HTML element embeds a media player which supports video\n"
" playback into the document. You can use `<video>` for audio content as\n"
" well, but the `<audio>` element may provide a more appropriate user experience.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/video)\n"
).
-spec video(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QNS)),
list(lustre@vdom@vnode:element(QNS))
) -> lustre@vdom@vnode:element(QNS).
video(Class, Attributes, Children) ->
sketch@lustre@element:element(<<"video"/utf8>>, Class, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3510).
?DOC(
" The `<video>` HTML element embeds a media player which supports video\n"
" playback into the document. You can use `<video>` for audio content as\n"
" well, but the `<audio>` element may provide a more appropriate user experience.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/video)\n"
).
-spec video_(
list(lustre@vdom@vattr:attribute(QNY)),
list(lustre@vdom@vnode:element(QNY))
) -> lustre@vdom@vnode:element(QNY).
video_(Attributes, Children) ->
sketch@lustre@element:element_(<<"video"/utf8>>, Attributes, Children).
-file("src/sketch/lustre/element/html.gleam", 3524).
?DOC(
" The `<wbr>` HTML element represents a word break opportunity—a position\n"
" within text where the browser may optionally break a line, though its\n"
" line-breaking rules would not otherwise create a break at that location.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/wbr)\n"
).
-spec wbr(
sketch@internals@cache@cache:class(),
list(lustre@vdom@vattr:attribute(QOE))
) -> lustre@vdom@vnode:element(QOE).
wbr(Class, Attributes) ->
sketch@lustre@element:element(<<"wbr"/utf8>>, Class, Attributes, []).
-file("src/sketch/lustre/element/html.gleam", 3535).
?DOC(
" The `<wbr>` HTML element represents a word break opportunity—a position\n"
" within text where the browser may optionally break a line, though its\n"
" line-breaking rules would not otherwise create a break at that location.\n"
"\n"
" ---\n"
"\n"
" [MDN Reference](https://developer.mozilla.org/docs/Web/HTML/Element/wbr)\n"
).
-spec wbr_(list(lustre@vdom@vattr:attribute(QOI))) -> lustre@vdom@vnode:element(QOI).
wbr_(Attributes) ->
sketch@lustre@element:element_(<<"wbr"/utf8>>, Attributes, []).