parent
4f9709afcc
commit
4248e85def
@ -16,6 +16,10 @@ func AutoPlay() g.Node {
|
|||||||
return g.Attr("autoplay")
|
return g.Attr("autoplay")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Checked() g.Node {
|
||||||
|
return g.Attr("checked")
|
||||||
|
}
|
||||||
|
|
||||||
func Controls() g.Node {
|
func Controls() g.Node {
|
||||||
return g.Attr("controls")
|
return g.Attr("controls")
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ func TestBooleanAttributes(t *testing.T) {
|
|||||||
"async": Async,
|
"async": Async,
|
||||||
"autofocus": AutoFocus,
|
"autofocus": AutoFocus,
|
||||||
"autoplay": AutoPlay,
|
"autoplay": AutoPlay,
|
||||||
|
"checked": Checked,
|
||||||
"controls": Controls,
|
"controls": Controls,
|
||||||
"defer": Defer,
|
"defer": Defer,
|
||||||
"disabled": Disabled,
|
"disabled": Disabled,
|
||||||
|
Loading…
Reference in New Issue
Block a user