Static Methodsliemeobn.elementary 0.5.0Elementary
label(_:)
HtmlAttributes.swift:448static func label(_ value: String) -> HTMLAttribute<Tag>
static func label(_ value: String) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO5labelRzrlEAHyACyxGSSFZ
What are these?88XZ4
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.label
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 String
A Unicode string value that is a collection of characters.
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol label