Add "checked" bool attribute Fixes #127.
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M html/attributes.go → html/attributes.go
@@ -16,6 +16,10 @@ func AutoPlay() g.Node { return g.Attr("autoplay") } +func Checked() g.Node { + return g.Attr("checked") +} + func Controls() g.Node { return g.Attr("controls") }