Instance Propertysliemeobn.elementary 0.5.0Elementary
_attributes
Html+Elements.swift:5var _attributes: _AttributeStorage
var _attributes: _AttributeStorage
s10Elementary11HTMLElementV11_attributesAA17_AttributeStorageOvp
What are these?25TLF
import Elementary
struct HTMLElement<Tag, Content> where Tag : HTMLTrait.Paired, Content : HTML
An HTML element that can contain content.
enum _AttributeStorage
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 Self, into renderer: inout Renderer, with context: consuming _RenderingContext) where Renderer : _HTMLRendering
static func _render<Renderer>(_ html: consuming Self, into renderer: inout Renderer, with context: consuming _RenderingContext) async throws where Renderer : _AsyncHTMLRendering
var content: Content
typealias Tag = Tag
The type of the HTML tag this element represents.