Static Methodsliemeobn.elementary 0.5.0Elementary
referrerPolicy(_:)
HtmlAttributes.swift:552static func referrerPolicy(_ type: HTMLAttributeValue.ReferrerPolicy) -> HTMLAttribute<Tag>
static func referrerPolicy(_ type: HTMLAttributeValue.ReferrerPolicy) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO14referrerpolicyRzrlE14referrerPolicyyACyxGAA0B5ValueO08ReferrerG0VFZ
What are these?3WIDH
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.referrerpolicy
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 ReferrerPolicy
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol referrerpolicy