(classNames: string)
| 210 | } |
| 211 | |
| 212 | removeClass(classNames: string): this { |
| 213 | this._each((el: any) => { |
| 214 | // IE doesn't support multiple arguments |
| 215 | classNames.split(' ').forEach((className) => { |
| 216 | if (className) { |
| 217 | el.classList.remove(className); |
| 218 | } |
| 219 | }); |
| 220 | }); |
| 221 | return this; |
| 222 | } |
| 223 | |
| 224 | hasClass(className: string): boolean { |
| 225 | if (!this.firstElement) { |
no test coverage detected