(cssClasses: string[], newCssClass: string)
| 1731 | } |
| 1732 | |
| 1733 | function applyRootCssClass(cssClasses: string[], newCssClass: string): void { |
| 1734 | const rootView = Application.getRootView(); |
| 1735 | if (!rootView) { |
| 1736 | return; |
| 1737 | } |
| 1738 | |
| 1739 | Application.applyCssClass(rootView, cssClasses, newCssClass); |
| 1740 | |
| 1741 | const rootModalViews = <Array<View>>rootView._getRootModalViews(); |
| 1742 | rootModalViews.forEach((rootModalView) => Application.applyCssClass(rootModalView, cssClasses, newCssClass)); |
| 1743 | } |
| 1744 | |
| 1745 | function applyFontScaleToRootViews(): void { |
| 1746 | const rootView = Application.getRootView(); |
no test coverage detected