Instance Propertysliemeobn.elementary 0.5.3Elementary
content
Html+Elements.swift:8var content: Contentvar content: Contentimport Elementarystruct HTMLElement<Tag, Content> where Tag : HTMLTrait.Paired, Content : HTMLAn HTML element that can contain content.
init(_ attribute: HTMLAttribute<Tag>, @HTMLBuilder content: () -> Content) Creates a new HTML element with the specified attribute and content.
init(_ attributes: HTMLAttribute<Tag>..., @HTMLBuilder content: () -> Content) Creates a new HTML element with the specified attributes and content.
init(attributes: [HTMLAttribute<Tag>], @HTMLBuilder content: () -> Content) Creates a new HTML element with the specified attributes and content.
init(@HTMLBuilder content: () -> Content) Creates a new HTML element with the specified content.
static func _render<Renderer>(_ html: consuming HTMLElement<Tag, Content>, into renderer: inout Renderer, with context: consuming _RenderingContext) where Renderer : _HTMLRendering static func _render<Renderer>(_ html: consuming HTMLElement<Tag, Content>, into renderer: inout Renderer, with context: consuming _RenderingContext) async throws where Renderer : _AsyncHTMLRendering var _attributes: _AttributeStoragetypealias Tag = TagThe type of the HTML tag this element represents.