Extract scoped style sheets as string
const styleSheets = extractStyles()styleSheets.forEach((sheetText) => { const style = document.createElement('style') style.textContent = sheetText document.head.append(style)}) Copy
const styleSheets = extractStyles()styleSheets.forEach((sheetText) => { const style = document.createElement('style') style.textContent = sheetText document.head.append(style)})
Generated using TypeDoc
Extract scoped style sheets as string