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