/// <summary> /// Add or remove one or more classes to the element, depending on either the class's presence or the value of the state argument. /// </summary> public static HElement ToggleClass(this HElement element, String className, bool state) { return(element.ToggleClass(ExtractClassNames(className), state)); }