After Distinct case for css classes, I understand that my proposition doesn't quite fit with this project. And I respect this desire to protect what is a important idea of this project.
Still I feel that attrClass is too long for something that probably the most used html attribute.
So, what I propose for all element that are only make sens bellow body is to add an argument that would only be a short and for calling attrClass
.div("first-class second-class")
.__()
Which doesn't mean that the current form should be retired.
After Distinct case for css classes, I understand that my proposition doesn't quite fit with this project. And I respect this desire to protect what is a important idea of this project.
Still I feel that
attrClass
is too long for something that probably the most used html attribute.So, what I propose for all element that are only make sens bellow body is to add an argument that would only be a short and for calling
attrClass
Which doesn't mean that the current form should be retired.
I think both should add content to the same attribute So with the following
should produce the following output
In the hope to help enhance this already pretty nice project