diff options
Diffstat (limited to 'html/attributes.go')
-rw-r--r-- | html/attributes.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html/attributes.go b/html/attributes.go index 728807b..98d70ff 100644 --- a/html/attributes.go +++ b/html/attributes.go @@ -270,3 +270,7 @@ func Width(v string) g.Node { func EncType(v string) g.Node { return g.Attr("enctype", v) } + +func Dir(v string) g.Node { + return g.Attr("dir", v) +} |