about summary refs log tree commit diff stats
path: root/html/attributes_test.go
Commit message (Collapse)AuthorAgeLines
* Add LinkStylesheet and LinkPreload components (#79)Markus Wüstenberg2021-06-08-0/+1
| | | These are often used in the `<head>` part of the HTML.
* Add data- attribute helper (#61)Markus Wüstenberg2020-12-22-0/+7
| | | Fixes #49.
* Add aria-* and role attributes (#59)Markus Wüstenberg2020-12-22-0/+8
| | | Fixes #50.
* Simplify available elements (#55)Markus Wüstenberg2020-12-10-0/+4
| | | | | | | `a`, `form`, `img`, `input`, `label`, `option`, `progress`, `select`, and `textarea` are now just regular elements (without helper parameters), because: - Sometimes the use case doesn't fit (`a` as anchor without href, for example) - There's no reason these are special among the others, so streamlining them makes sense Also added new attributes `action`, `alt`, `for`, `method` that I had somehow missed.
* Move elements and attributes into html package (#52)Markus Wüstenberg2020-12-10-0/+73
This makes it easier to use dot-imports. Also updated the readme and examples with new usage, and move the `Classes` helper into the `components` package.