| Commit message (Collapse) | Author | Age | Lines |
|
|
| |
Inlining looks much nicer.
|
|
|
|
|
| |
This makes it clearer that the helpers return a `Node` of any kind, and that the type is not important.
This also streamlines the API, as attribute helpers already return just `Node`.
|
| |
|
|
|
| |
Used to inline conditional nodes.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Previously, elements of kind void and empty elements generally would be rendered auto-closing (with a final `/` character in the start tag), which is allowed sometimes but arguably wrong. See https://dev.w3.org/html5/spec-LC/syntax.html#end-tags
This created problems with for example `textarea` and `script`, which cannot be auto-closing, or the browser renders it wrong.
Also clarified in the docs that this library outputs HTML5.
Fixes #42.
|
|
|
| |
Also update readme with features.
|
|
|