(name: string, value = "")
| 60 | }; |
| 61 | |
| 62 | const removeStyle = (name: string, value = "") => { |
| 63 | document.adoptedStyleSheets = document.adoptedStyleSheets.filter(sh => (sh as Record<string, any>)._ui5StyleId !== getStyleId(name, value)); |
| 64 | }; |
| 65 | |
| 66 | const createOrUpdateStyle = (content: string, name: string, value = "", theme?: string) => { |
| 67 | if (hasStyle(name, value)) { |
no test coverage detected
searching dependent graphs…