Add data- attribute helper (#61) Fixes #49.
1 file changed, 2 insertions(+), 1 deletion(-)
changed files
M README.md → README.md
@@ -137,9 +137,10 @@ For more complete examples, see [the examples directory](examples/). ### What's up with the specially named elements and attributes? -Unfortunately, there are three main name clashes in HTML elements and attributes, so they need an `El` or `Attr` suffix, +Unfortunately, there are four main name clashes in HTML elements and attributes, so they need an `El` or `Attr` suffix, respectively, to be able to co-exist in the same package in Go: +- `data` (`DataEl`/`DataAttr`) - `form` (`FormEl`/`FormAttr`) - `style` (`StyleEl`/`StyleAttr`) - `title` (`TitleEl`/`TitleAttr`)