all repos — gomponents @ 7c0f2e4cbb4da6d7074bd78be9c55d3495c0dad7

HTML components in pure Go

Add LinkStylesheet and LinkPreload components (#79) These are often used in the `<head>` part of the HTML.

Markus Wüstenberg
commit

7c0f2e4cbb4da6d7074bd78be9c55d3495c0dad7

parent

3e9e00ca0dc6b58e58694d84c97a1d2f2ab4002b

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

changed files
M html/attributes.gohtml/attributes.go
@@ -61,6 +61,10 @@ func Aria(name, v string) g.Node {
return g.Attr("aria-"+name, v) } +func As(v string) g.Node { + return g.Attr("as", v) +} + func AutoComplete(v string) g.Node { return g.Attr("autocomplete", v) }