18 lines
338 B
Swift
18 lines
338 B
Swift
import Elementary
|
|
|
|
extension HTMLAttribute where Tag == HTMLTag.input {
|
|
|
|
static func max(_ value: String) -> Self {
|
|
.init(name: "max", value: value)
|
|
}
|
|
|
|
static func min(_ value: String) -> Self {
|
|
.init(name: "min", value: value)
|
|
}
|
|
|
|
static func step(_ value: String) -> Self {
|
|
.init(name: "step", value: value)
|
|
}
|
|
|
|
}
|