Elementary
import Elementary
Module information
- Declarations
- 795
- Symbols
- 1190
import Elementary
protocol HTML<Tag>
A type that represents HTML content that can be rendered.
protocol HTMLDocument : HTML
A type that represents a full HTML document.
protocol HTMLStreamWriter
A type that write chunks of HTML content to a stream.
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol _AsyncHTMLRendering
protocol _HTMLRendering
struct AsyncContent<Content> where Content : HTML
An element that awaits its content before rendering.
struct AsyncForEach<Source, Content> where Source : AsyncSequence, Content : HTML
An element that lazily renders HTML for each element of an AsyncSequence
.
struct EmptyHTML
A type that represents empty HTML.
@propertyWrapper struct Environment<T> where T : Sendable
A property wrapper that reads an environment value from a TaskLocal
.
struct ForEach<Data, Content> where Data : Sequence, Content : HTML
An element that lazily renders HTML for each element in a sequence.
struct HTMLAttribute<Tag> where Tag : HTMLTagDefinition
An HTML attribute that can be applied to an HTML element of the associated tag.
struct HTMLAttributeMergeAction
The action to take when merging an attribute with the same name.
enum HTMLAttributeValue
A namespace for value types used in attributes.
@resultBuilder struct HTMLBuilder
A result builder for building HTML components.
struct HTMLComment
A type that represents an HTML comment.
struct HTMLElement<Tag, Content> where Tag : HTMLTrait.Paired, Content : HTML
An HTML element that can contain content.
struct HTMLRaw
A type that represents custom raw, untyped HTML.
enum HTMLTag
A namespace for HTML tag definitions.
struct HTMLText
A type that represents text content in an HTML document.
enum HTMLTrait
A namespace for trait protocols that control the behavior a capabilities of HTML elements.
struct HTMLVoidElement<Tag> where Tag : HTMLTrait.Unpaired
An HTML element that does not contain content.
enum _AttributeStorage
struct _AttributedElement<Content> where Content : HTML
struct _HTMLArray<Element> where Element : HTML
struct _HTMLConditional<TrueContent, FalseContent> where TrueContent : HTML, FalseContent : HTML
enum _HTMLRenderToken
struct _HTMLTuple<each Child> where repeat each Child : HTML
struct _HTMLTuple2<V0, V1> where V0 : HTML, V1 : HTML
struct _HTMLTuple3<V0, V1, V2> where V0 : HTML, V1 : HTML, V2 : HTML
struct _HTMLTuple4<V0, V1, V2, V3> where V0 : HTML, V1 : HTML, V2 : HTML, V3 : HTML
struct _HTMLTuple5<V0, V1, V2, V3, V4> where V0 : HTML, V1 : HTML, V2 : HTML, V3 : HTML, V4 : HTML
struct _HTMLTuple6<V0, V1, V2, V3, V4, V5> where V0 : HTML, V1 : HTML, V2 : HTML, V3 : HTML, V4 : HTML, V5 : HTML
struct _MergedAttributes
struct _ModifiedTaskLocal<T, Content> where T : Sendable, Content : HTML
struct _RenderingContext
struct _SendableAnyHTMLBox
A wrapper around an any HTML
value that can be safely sent once.
struct _StoredAttribute
typealias a<Content> = HTMLElement<HTMLTag.a, Content> where Content : HTML
typealias abbr<Content> = HTMLElement<HTMLTag.abbr, Content> where Content : HTML
typealias address<Content> = HTMLElement<HTMLTag.address, Content> where Content : HTML
typealias area = HTMLVoidElement<HTMLTag.area>
typealias article<Content> = HTMLElement<HTMLTag.article, Content> where Content : HTML
typealias aside<Content> = HTMLElement<HTMLTag.aside, Content> where Content : HTML
typealias audio<Content> = HTMLElement<HTMLTag.audio, Content> where Content : HTML
typealias b<Content> = HTMLElement<HTMLTag.b, Content> where Content : HTML
typealias base = HTMLVoidElement<HTMLTag.base>
typealias bdi<Content> = HTMLElement<HTMLTag.bdi, Content> where Content : HTML
typealias bdo<Content> = HTMLElement<HTMLTag.bdo, Content> where Content : HTML
typealias blockquote<Content> = HTMLElement<HTMLTag.blockquote, Content> where Content : HTML
typealias body<Content> = HTMLElement<HTMLTag.body, Content> where Content : HTML
typealias br = HTMLVoidElement<HTMLTag.br>
typealias button<Content> = HTMLElement<HTMLTag.button, Content> where Content : HTML
typealias canvas<Content> = HTMLElement<HTMLTag.canvas, Content> where Content : HTML
typealias caption<Content> = HTMLElement<HTMLTag.caption, Content> where Content : HTML
typealias cite<Content> = HTMLElement<HTMLTag.cite, Content> where Content : HTML
typealias code<Content> = HTMLElement<HTMLTag.code, Content> where Content : HTML
typealias col = HTMLVoidElement<HTMLTag.col>
typealias colgroup<Content> = HTMLElement<HTMLTag.colgroup, Content> where Content : HTML
typealias data<Content> = HTMLElement<HTMLTag.data, Content> where Content : HTML
typealias datalist<Content> = HTMLElement<HTMLTag.datalist, Content> where Content : HTML
typealias dd<Content> = HTMLElement<HTMLTag.dd, Content> where Content : HTML
typealias del<Content> = HTMLElement<HTMLTag.del, Content> where Content : HTML
typealias details<Content> = HTMLElement<HTMLTag.details, Content> where Content : HTML
typealias dfn<Content> = HTMLElement<HTMLTag.dfn, Content> where Content : HTML
typealias dialog<Content> = HTMLElement<HTMLTag.dialog, Content> where Content : HTML
typealias div<Content> = HTMLElement<HTMLTag.div, Content> where Content : HTML
typealias dl<Content> = HTMLElement<HTMLTag.dl, Content> where Content : HTML
typealias dt<Content> = HTMLElement<HTMLTag.dt, Content> where Content : HTML
typealias em<Content> = HTMLElement<HTMLTag.em, Content> where Content : HTML
typealias embed = HTMLVoidElement<HTMLTag.embed>
typealias fieldset<Content> = HTMLElement<HTMLTag.fieldset, Content> where Content : HTML
typealias figcaption<Content> = HTMLElement<HTMLTag.figcaption, Content> where Content : HTML
typealias figure<Content> = HTMLElement<HTMLTag.figure, Content> where Content : HTML
typealias footer<Content> = HTMLElement<HTMLTag.footer, Content> where Content : HTML
typealias form<Content> = HTMLElement<HTMLTag.form, Content> where Content : HTML
typealias h1<Content> = HTMLElement<HTMLTag.h1, Content> where Content : HTML
typealias h2<Content> = HTMLElement<HTMLTag.h2, Content> where Content : HTML
typealias h3<Content> = HTMLElement<HTMLTag.h3, Content> where Content : HTML
typealias h4<Content> = HTMLElement<HTMLTag.h4, Content> where Content : HTML
typealias h5<Content> = HTMLElement<HTMLTag.h5, Content> where Content : HTML
typealias h6<Content> = HTMLElement<HTMLTag.h6, Content> where Content : HTML
typealias head<Content> = HTMLElement<HTMLTag.head, Content> where Content : HTML
typealias header<Content> = HTMLElement<HTMLTag.header, Content> where Content : HTML
typealias hgroup<Content> = HTMLElement<HTMLTag.hgroup, Content> where Content : HTML
typealias hr = HTMLVoidElement<HTMLTag.hr>
typealias html<Content> = HTMLElement<HTMLTag.html, Content> where Content : HTML
typealias i<Content> = HTMLElement<HTMLTag.i, Content> where Content : HTML
typealias iframe<Content> = HTMLElement<HTMLTag.iframe, Content> where Content : HTML
typealias img = HTMLVoidElement<HTMLTag.img>
typealias input = HTMLVoidElement<HTMLTag.input>
typealias ins<Content> = HTMLElement<HTMLTag.ins, Content> where Content : HTML
typealias kbd<Content> = HTMLElement<HTMLTag.kbd, Content> where Content : HTML
typealias label<Content> = HTMLElement<HTMLTag.label, Content> where Content : HTML
typealias legend<Content> = HTMLElement<HTMLTag.legend, Content> where Content : HTML
typealias li<Content> = HTMLElement<HTMLTag.li, Content> where Content : HTML
typealias link = HTMLVoidElement<HTMLTag.link>
typealias main<Content> = HTMLElement<HTMLTag.main, Content> where Content : HTML
typealias map<Content> = HTMLElement<HTMLTag.map, Content> where Content : HTML
typealias mark<Content> = HTMLElement<HTMLTag.mark, Content> where Content : HTML
typealias menu<Content> = HTMLElement<HTMLTag.menu, Content> where Content : HTML
typealias meta = HTMLVoidElement<HTMLTag.meta>
typealias meter<Content> = HTMLElement<HTMLTag.meter, Content> where Content : HTML
typealias nav<Content> = HTMLElement<HTMLTag.nav, Content> where Content : HTML
typealias noscript<Content> = HTMLElement<HTMLTag.noscript, Content> where Content : HTML
typealias object<Content> = HTMLElement<HTMLTag.object, Content> where Content : HTML
typealias ol<Content> = HTMLElement<HTMLTag.ol, Content> where Content : HTML
typealias optgroup<Content> = HTMLElement<HTMLTag.optgroup, Content> where Content : HTML
typealias option<Content> = HTMLElement<HTMLTag.option, Content> where Content : HTML
typealias output<Content> = HTMLElement<HTMLTag.output, Content> where Content : HTML
typealias p<Content> = HTMLElement<HTMLTag.p, Content> where Content : HTML
typealias param = HTMLVoidElement<HTMLTag.param>
typealias picture<Content> = HTMLElement<HTMLTag.picture, Content> where Content : HTML
typealias pre<Content> = HTMLElement<HTMLTag.pre, Content> where Content : HTML
typealias progress<Content> = HTMLElement<HTMLTag.progress, Content> where Content : HTML
typealias q<Content> = HTMLElement<HTMLTag.q, Content> where Content : HTML
typealias rp<Content> = HTMLElement<HTMLTag.rp, Content> where Content : HTML
typealias rt<Content> = HTMLElement<HTMLTag.rt, Content> where Content : HTML
typealias ruby<Content> = HTMLElement<HTMLTag.ruby, Content> where Content : HTML
typealias s<Content> = HTMLElement<HTMLTag.s, Content> where Content : HTML
typealias samp<Content> = HTMLElement<HTMLTag.samp, Content> where Content : HTML
typealias script<Content> = HTMLElement<HTMLTag.script, Content> where Content : HTML
typealias section<Content> = HTMLElement<HTMLTag.section, Content> where Content : HTML
typealias select<Content> = HTMLElement<HTMLTag.select, Content> where Content : HTML
typealias small<Content> = HTMLElement<HTMLTag.small, Content> where Content : HTML
typealias source = HTMLVoidElement<HTMLTag.source>
typealias span<Content> = HTMLElement<HTMLTag.span, Content> where Content : HTML
typealias strong<Content> = HTMLElement<HTMLTag.strong, Content> where Content : HTML
typealias style<Content> = HTMLElement<HTMLTag.style, Content> where Content : HTML
typealias sub<Content> = HTMLElement<HTMLTag.sub, Content> where Content : HTML
typealias summary<Content> = HTMLElement<HTMLTag.summary, Content> where Content : HTML
typealias sup<Content> = HTMLElement<HTMLTag.sup, Content> where Content : HTML
typealias svg<Content> = HTMLElement<HTMLTag.svg, Content> where Content : HTML
typealias table<Content> = HTMLElement<HTMLTag.table, Content> where Content : HTML
typealias tbody<Content> = HTMLElement<HTMLTag.tbody, Content> where Content : HTML
typealias td<Content> = HTMLElement<HTMLTag.td, Content> where Content : HTML
typealias template<Content> = HTMLElement<HTMLTag.template, Content> where Content : HTML
typealias textarea<Content> = HTMLElement<HTMLTag.textarea, Content> where Content : HTML
typealias tfoot<Content> = HTMLElement<HTMLTag.tfoot, Content> where Content : HTML
typealias th<Content> = HTMLElement<HTMLTag.th, Content> where Content : HTML
typealias thead<Content> = HTMLElement<HTMLTag.thead, Content> where Content : HTML
typealias time<Content> = HTMLElement<HTMLTag.time, Content> where Content : HTML
typealias title<Content> = HTMLElement<HTMLTag.title, Content> where Content : HTML
typealias tr<Content> = HTMLElement<HTMLTag.tr, Content> where Content : HTML
typealias track = HTMLVoidElement<HTMLTag.track>
typealias u<Content> = HTMLElement<HTMLTag.u, Content> where Content : HTML
typealias ul<Content> = HTMLElement<HTMLTag.ul, Content> where Content : HTML
typealias video<Content> = HTMLElement<HTMLTag.video, Content> where Content : HTML
typealias wbr = HTMLVoidElement<HTMLTag.wbr>