about summary refs log tree commit diff stats
path: root/html/attributes_test.go
Commit message (Collapse)AuthorAgeLines
* Add EncType html attribute (#109)Markus Wüstenberg2022-09-29-0/+1
|
* Mark the assert test helpers as such (#90)Markus Wüstenberg2021-10-06-1/+1
| | | | | Using `t.Helper()`. Also move the assert package to be internal.
* Add loading and srcset HTML attributes (#86)Josep Jesus Bigorra Algaba2021-09-07-0/+2
| | | | | | | Useful for `img` and `picture` elements. Fixes #85. Co-authored-by: Josep Jesus Bigorra Algaba <josep@prowarehouse.nl>
* Add video element and related attributes (#84)Markus Wüstenberg2021-06-18-11/+15
| | | Adds the `video` element and `loop`, `muted`, `playsinline`, `poster` attributes.
* 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.