Add draggable attribute (#185)
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M html/attributes.go → html/attributes.go
@@ -40,6 +40,10 @@ func Disabled() g.Node { return g.Attr("disabled") } +func Draggable(v string) g.Node { + return g.Attr("draggable", v) +} + func Loop() g.Node { return g.Attr("loop") }