Static Methodsliemeobn.elementary 0.5.0Elementary
href(_:)
HtmlAttributes.swift:240static func href(_ value: String) -> HTMLAttribute<Tag>
static func href(_ value: String) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO4hrefRzrlEAHyACyxGSSFZ
What are these?8AEQI
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.href
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 href