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
refactor addClass method so that it checks if className is string or array, and if string then it splits and checks in element contains class. This method should parse correctly a) strings b) arrays c) strings with mutliple classes
same for removeClass & toggleClass(?)
The text was updated successfully, but these errors were encountered:
smolenski-mikolaj
changed the title
Manipulator bs and mdb - unify and remove all class methods - use element.classList instead and loops for arrays or splitted strings
Manipulator refactor
Feb 2, 2023
addMultiClass
,removeMultiClass
,addMultipleClasses
methodsaddClass
method so that it checks if className is string or array, and if string then it splits and checks in element contains class. This method should parse correctly a) strings b) arrays c) strings with mutliple classesThe text was updated successfully, but these errors were encountered: