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