Add the ability to set class on highest-level div the whole component (and update the README accordingly).
I was using this to build some custom, reusable charts, and I didn't have a way within rid3 to apply a class to all of my chart types.
In this PR I applied to the class to the div that wraps the whole component (same place the id is applied. I could easily imagine applying it further down the chain, if that makes more sense to you.
Add the ability to set class on highest-level
div
the whole component (and update the README accordingly).I was using this to build some custom, reusable charts, and I didn't have a way within rid3 to apply a class to all of my chart types.
In this PR I applied to the class to the
div
that wraps the whole component (same place theid
is applied. I could easily imagine applying it further down the chain, if that makes more sense to you.