Static Methodsliemeobn.elementary 0.5.0Elementary
src(_:)
HtmlAttributes.swift:261static func src(_ url: String) -> HTMLAttribute<Tag>
static func src(_ url: String) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO3srcRzrlEAHyACyxGSSFZ
What are these?HG7U
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.src
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 src