Static Methodsliemeobn.elementary 0.5.0Elementary
name(_:)
HtmlAttributes.swift:486static func name(_ value: String) -> HTMLAttribute<Tag>
static func name(_ value: String) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO4nameRzrlEAHyACyxGSSFZ
What are these?4ZAE2
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.name
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 name