all repos — gomponents @ 633b000d9115dbf7d4cc072cb1349268a09c3375

HTML components in pure Go

Add svg element (#46) Also add `cols` and `rows` attributes. Fixes #43.

Markus Wüstenberg
commit

633b000d9115dbf7d4cc072cb1349268a09c3375

parent

108f8d9ba564aef06155f6fdc83e140bb5953b3d

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

changed files
M el/simple.goel/simple.go
@@ -216,6 +216,10 @@ func Summary(children ...g.Node) g.NodeFunc {
return g.El("summary", children...) } +func SVG(children ...g.Node) g.NodeFunc { + return g.El("svg", children...) +} + func Table(children ...g.Node) g.NodeFunc { return g.El("table", children...) }