Since I use Oceanwind through a function (not a template), I've ended up with a pattern like this:
ow([combinedClasses.join(" ")])
combinedClasses is an array of classes and to comply with the current API, I have to transform it. Maybe it would be better to have Oceawind to detect the case and work directly with an array like this:
ow(combinedClasses)
It's a bit counter-intuitive to add the array wrapping. Maybe a check or so would be possible.
Since I use Oceanwind through a function (not a template), I've ended up with a pattern like this:
combinedClasses
is an array of classes and to comply with the current API, I have to transform it. Maybe it would be better to have Oceawind to detect the case and work directly with an array like this:It's a bit counter-intuitive to add the array wrapping. Maybe a check or so would be possible.