Required Instance Propertysliemeobn.elementary 0.5.0Elementary
content
The HTML content of this component.
@HTMLBuilder var content: Content { get }
The HTML content of this component.
@HTMLBuilder var content: Content { get }
import Elementary
protocol HTML<Tag>
A type that represents HTML content that can be rendered.
@resultBuilder struct HTMLBuilder
A result builder for building HTML components.
associatedtype Content : HTML = Never
The type of the HTML content this component represents.
associatedtype Tag : HTMLTagDefinition = Self.Content.Tag
The HTML tag this component represents, if any.
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
@HTMLBuilder var content: some HTML { get }
var content: Never { get }