Static Methodsliemeobn.elementary 0.5.0Elementary
type(_:)
HtmlAttributes.swift:639static func type(_ type: InputType) -> HTMLAttribute<Tag>
static func type(_ type: InputType) -> HTMLAttribute<Tag>
s10Elementary13HTMLAttributeVA2A7HTMLTagO5inputORszrlE4typeyACyAGGAcaGRszrlE9InputTypeVyAG_GFZ
What are these?75J6R
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.
struct InputType
enum input
static var checked: Self { get }
static func accept(_ type: Accept) -> HTMLAttribute<Tag>
static func value(_ value: String) -> HTMLAttribute<Tag>
struct Accept