(container: HTMLElement | undefined)
| 20 | } |
| 21 | |
| 22 | export function getViewerRoot(container: HTMLElement | undefined) { |
| 23 | return getViewerHost(container)?.shadowRoot ?? undefined |
| 24 | } |
| 25 | |
| 26 | export function applyViewerScheme(host: HTMLElement | undefined) { |
| 27 | if (!host) return |
no test coverage detected