all repos — gomponents @ 8e4b1319d12e11fe62725fc30ea01b1f274f8c50

HTML components in pure Go

Add Step attribute (#126) See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step Fixes #120.

Markus Wüstenberg
commit

8e4b1319d12e11fe62725fc30ea01b1f274f8c50

parent

e11dcad5185a1fb35a62076d4357c697da108ad7

1 file changed, 4 insertions(+), 0 deletions(-)

changed files
M html/attributes.gohtml/attributes.go
@@ -198,6 +198,10 @@ func SrcSet(v string) g.Node {
return g.Attr("srcset", v) } +func Step(v string) g.Node { + return g.Attr("step", v) +} + func StyleAttr(v string) g.Node { return g.Attr("style", v) }