Add svg element (#46) Also add `cols` and `rows` attributes. Fixes #43.
1 file changed, 8 insertions(+), 0 deletions(-)
changed files
M attr/simple.go → attr/simple.go
@@ -20,6 +20,10 @@ func Class(v string) g.Node { return g.Attr("class", v) } +func Cols(v string) g.Node { + return g.Attr("cols", v) +} + func Content(v string) g.Node { return g.Attr("content", v) }@@ -78,6 +82,10 @@ } func Rel(v string) g.Node { return g.Attr("rel", v) +} + +func Rows(v string) g.Node { + return g.Attr("rows", v) } func Src(v string) g.Node {