Add the output HTML element (#279) Hello! I noticed that the `<output>` element was missing from this library. This small PR addresses that. More information about the `<output>` element can be found on [developer.mozilla.org](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/output).
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M html/elements.go → html/elements.go
@@ -228,6 +228,10 @@ func OptGroup(children ...g.Node) g.Node { return g.El("optgroup", children...) } +func Output(children ...g.Node) g.Node { + return g.El("output", children...) +} + func Option(children ...g.Node) g.Node { return g.El("option", children...) }