about summary refs log tree commit diff stats
path: root/el/elements.go
Commit message (Collapse)AuthorAgeLines
* Add element helpers and refactor (#34)Markus Wüstenberg2020-10-28-0/+70
| | | | | | | This change adds a lot of element helpers, and refactors: - helpers into simple, text, and other helpers - most tests into table-driven tests, so they're easier to read Thanks to @oderwat for pushing me to improve the tests. 😉
* Group element helpers in different files (#21)Markus Wüstenberg2020-09-25-137/+0
| | | According to the section at https://developer.mozilla.org/en-US/docs/Web/HTML/Element
* Add convenience helpers for form elements (#19)Markus Wüstenberg2020-09-24-3/+7
|
* Add children varargs to h1-6, b, strong, i, em, img helpers (#15)Markus Wüstenberg2020-09-23-22/+24
| | | This makes it possible to add attributes.
* Add a lot of common elements (#10)Markus Wüstenberg2020-09-21-0/+90
| | | Especially add elements that are either used in every document, that nearly always have text content, or that are almost always used with certain attributes.
* Add package el with element helpers (#8)Markus Wüstenberg2020-09-18-0/+41