Static Methodsliemeobn.elementary 0.5.0Elementary
value(_:)
HtmlAttributes.swift:643static func value(_ value: String) -> HTMLAttribute<Tag>
static func value(_ value: String) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A7HTMLTagO5inputORszrlE5valueyACyAGGSSFZ
What are these?1ANOD
where Tag == HTMLTag.input
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.
enum input
static var checked: Self { get }
static func accept(_ type: Accept) -> HTMLAttribute<Tag>
static func type(_ type: InputType) -> HTMLAttribute<Tag>
struct Accept
struct InputType