schneiderfelipe / hyperscript

📎 Create HyperText with Nim.
https://github.com/schneiderfelipe/hyperscript
4 stars 0 forks source link

Support indicating multiple classes at construction #15

Open schneiderfelipe opened 3 years ago

schneiderfelipe commented 3 years ago

With 70bb94d5cc9e77fa4381389f0141d3c31f0f9074 we lost the ability of indicating multiple classes at tag construction. That heavily simplifies the code, which is the correct behavior for the class attribute.

But having a way of indicating multiple classes is beneficial. Maybe using a special classList named parameter?