Static Methodsliemeobn.elementary 0.5.0Elementary
height(_:)
HtmlAttributes.swift:575static func height(_ value: Int) -> HTMLAttribute<Tag>
static func height(_ value: Int) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO10dimensionsRzrlE6heightyACyxGSiFZ
What are these?20CJ3
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.dimensions
import Elementary
struct HTMLAttribute<Tag> where Tag : HTMLTagDefinition
An HTML attribute that can be applied to an HTML element of the associated tag.
@frozen struct Int
A signed integer value type.
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol dimensions
static func width(_ value: Int) -> HTMLAttribute<Tag>