You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure option 2 makes sense for this application;
If the user defines a baseClass name, one can assume they are using said name in their corresponding css / js selectors.
If we fallback to the default names, I think that'll be as useful as not providing a classname for the span elements all together. Just a thought. Personally I would go with option one. Throw an exception in the console, and abort, or use NO classnames?
The
baseClass
option needs to be sanity checked in order to prevent setting invalid CSS identifiers. There are three forms of invalid CSS identifiers:.0my-class
--my-class
-0my-class
There are three options I can see how we could handle this:
I'm all for option two informing the user via a console message.
The text was updated successfully, but these errors were encountered: