about summary refs log tree commit diff stats
path: root/components/elements.go
Commit message (Collapse)AuthorAgeLines
* Return Node from all helpers instead of NodeFunc (#62)Markus Wüstenberg2021-01-07-1/+1
| | | | | 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`.
* Add If helper function (#57)Markus Wüstenberg2020-12-22-0/+10
Used to inline conditional nodes.