| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step
Fixes #120.
|
| |
|
| |
|
|
|
|
|
| |
Using `t.Helper()`.
Also move the assert package to be internal.
|
|
|
|
|
|
|
| |
Useful for `img` and `picture` elements.
Fixes #85.
Co-authored-by: Josep Jesus Bigorra Algaba <josep@prowarehouse.nl>
|
|
|
| |
Adds the `video` element and `loop`, `muted`, `playsinline`, `poster` attributes.
|
|
|
| |
These are often used in the `<head>` part of the HTML.
|
|
|
| |
Fixes #49.
|
|
|
| |
Fixes #50.
|
|
|
|
|
|
|
| |
`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.
|
|
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.
|