1
0
gomponents/components
Markus Wüstenberg 3b7dceab89
Streamline HTML element API (#66)
There were a lot of elements previously, like `Em`, `H1`, and a lot more, that took a string as the first argument previously. This was weird when you wanted to mix elements to output html like `<strong><em>…</em></strong>` or `<h1>Something <em>something</em> something</h1>`. gomponents is not an HTML validator, so I want people to be able to use elements however they please, also without text content.

This also means that all elements now have the same API.
2021-05-05 09:03:16 +02:00
..
attributes_test.go Move elements and attributes into html package (#52) 2020-12-10 13:00:23 +01:00
attributes.go Move elements and attributes into html package (#52) 2020-12-10 13:00:23 +01:00
documents_test.go Move elements and attributes into html package (#52) 2020-12-10 13:00:23 +01:00
documents.go Streamline HTML element API (#66) 2021-05-05 09:03:16 +02:00
elements_test.go Add test for InputHidden (#60) 2020-12-22 11:12:45 +01:00
elements.go Return Node from all helpers instead of NodeFunc (#62) 2021-01-07 10:20:03 +01:00