all repos — gomponents @ 52357fc500662a01f72b9c7ae5b016a68a5c1da1

HTML components in pure Go

Remove mention of SVG package in doc comments

Markus Wüstenberg
commit

52357fc500662a01f72b9c7ae5b016a68a5c1da1

parent

c094266ccbc2cb4ebac4e2f2f6f9aee5c5740db8

1 file changed, 3 insertions(+), 2 deletions(-)

changed files
M gomponents.gogomponents.go
@@ -4,15 +4,16 @@ // The primary interface is a [Node]. It defines a function Render, which should render the [Node]
// to the given writer as a string. // // All DOM elements and attributes can be created by using the [El] and [Attr] functions. +// // The functions [Text], [Textf], [Raw], and [Rawf] can be used to create text nodes, either HTML-escaped or unescaped. +// // See also helper functions [Map], [If], and [Iff] for mapping data to nodes and inserting them conditionally. +// // There's also the [Group] type, which is a slice of [Node]-s that can be rendered as one [Node]. // // For basic HTML elements and attributes, see the package html. // // For higher-level HTML components, see the package components. -// -// For SVG elements and attributes, see the package svg. // // For HTTP helpers, see the package http. package gomponents