Structuresliemeobn.elementary 0.4.4Elementary
Accept
HtmlAttributes.swift:560struct Accept
struct Accept
s10Elementary13HTMLAttributeVA2A7HTMLTagO5inputORszrlE6AcceptV
What are these?7A61Z
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.
enum input
static var checked: `Self` { get }
static func accept(_ type: Accept) -> HTMLAttribute<Tag>
static func type(_ type: InputType) -> HTMLAttribute<Tag>
static func value(_ value: String) -> HTMLAttribute<Tag>
struct InputType
protocol Equatable
A type that can be compared for value equality.
protocol ExpressibleByExtendedGraphemeClusterLiteral : ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single extended grapheme cluster.
protocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteral
A type that can be initialized with a string literal.
protocol ExpressibleByUnicodeScalarLiteral
A type that can be initialized with a string literal containing a single Unicode scalar value.
protocol Sendable
init(stringLiteral value: String)
init(extendedGraphemeClusterLiteral value: Self.StringLiteralType)
init(unicodeScalarLiteral value: Self.ExtendedGraphemeClusterLiteralType)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.