(className: string)
| 234 | return this.firstElement.hasAttribute(attribute); |
| 235 | } |
| 236 | toggleClass(className: string): this { |
| 237 | if (!this.firstElement) { |
| 238 | return this; |
| 239 | } |
| 240 | if (this.hasClass(className)) { |
| 241 | this.removeClass(className); |
| 242 | } else { |
| 243 | this.addClass(className); |
| 244 | } |
| 245 | return this; |
| 246 | } |
| 247 | |
| 248 | css(property: string, value?: string | number): this { |
| 249 | this._each((el: any) => { |
no test coverage detected