(element: HTMLElement, add: string)
| 48 | }; |
| 49 | |
| 50 | export const addClass = (element: HTMLElement, add: string): void => |
| 51 | element.classList.add(add); |
| 52 | |
| 53 | export const hasClass = (element: HTMLElement, has: string): boolean => |
| 54 | element.classList.contains(has); |
no outgoing calls
no test coverage detected
searching dependent graphs…