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
jQuery doesn't generally support SVG but due to the fact we've received exceptionally many questions about class manipulation support and it was relatively cheap for us to do, we added such support in jQuery 1.12/2.2. We should document that addClass, removeClass, hasClass and toggleClass is now supported on SVG nodes and we have unit tests for that.
The note should also warn that class manip support is an exception and that most jQuery APIs don't support SVGs.
The text was updated successfully, but these errors were encountered:
jQuery doesn't generally support SVG but due to the fact we've received exceptionally many questions about class manipulation support and it was relatively cheap for us to do, we added such support in jQuery 1.12/2.2. We should document that
addClass
,removeClass
,hasClass
andtoggleClass
is now supported on SVG nodes and we have unit tests for that.The note should also warn that class manip support is an exception and that most jQuery APIs don't support SVGs.
The text was updated successfully, but these errors were encountered: