Static Methodsliemeobn.elementary 0.5.0Elementary
crossorigin(_:)
HtmlAttributes.swift:509static func crossorigin(_ type: HTMLAttributeValue.CrossOrigin) -> HTMLAttribute<Tag>
static func crossorigin(_ type: HTMLAttributeValue.CrossOrigin) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A9HTMLTraitO10AttributesO11crossoriginRzrlEAHyACyxGAA0B5ValueO11CrossOriginVFZ
What are these?1VH7L
where Tag:HTMLTagDefinition, Tag:HTMLTrait.Attributes.crossorigin
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 CrossOrigin
protocol HTMLTagDefinition : Sendable
A type that represents an HTML tag.
protocol crossorigin