* Add a class to all elements in the array
(className: string | string[])
| 973 | * Add a class to all elements in the array |
| 974 | */ |
| 975 | addClass(className: string | string[]): this { |
| 976 | for (const item of this) { |
| 977 | item.addClass(className); |
| 978 | } |
| 979 | return this; |
| 980 | } |
| 981 | |
| 982 | /** |
| 983 | * Set innerHTML of all elements in the array |