Static Methodsliemeobn.elementary 0.5.0Elementary
rel(_:)
HtmlAttributes.swift:361static func rel(_ value: HTMLAttributeValue.Relationship) -> HTMLAttribute<Tag>
static func rel(_ value: HTMLAttributeValue.Relationship) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO3relRzrlEAHyACyxGAA0B5ValueO12RelationshipVFZ
What are these?6EN8E
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.rel
import Elementary
struct HTMLAttribute<Tag> where Tag : HTMLTagDefinition
An HTML attribute that can be applied to an HTML element of the associated tag.
enum HTMLAttributeValue
A namespace for value types used in attributes.
struct Relationship
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol rel